Skip to content

Commit

Permalink
Merge pull request #31520 from ZhilkinSerg/fix-android-next-long
Browse files Browse the repository at this point in the history
Read int instead of long in Android builds
  • Loading branch information
ZhilkinSerg authored Jun 16, 2019
2 parents 47fadd9 + 03267b2 commit 4d34142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/savegame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ void game::load_shortcuts( std::istream &fin )
std::list<input_event> &qslist = quick_shortcuts_map[ *it ];
qslist.clear();
while( ja.has_more() ) {
qslist.push_back( input_event( ja.next_long(), CATA_INPUT_KEYBOARD ) );
qslist.push_back( input_event( ja.next_int(), CATA_INPUT_KEYBOARD ) );
}
}
}
Expand Down

0 comments on commit 4d34142

Please sign in to comment.