From 03267b278a0873807bfcae8d64c14c24c96d7605 Mon Sep 17 00:00:00 2001 From: ZhilkinSerg Date: Sun, 16 Jun 2019 13:09:04 +0300 Subject: [PATCH] Read int instead of long in Android builds --- src/savegame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/savegame.cpp b/src/savegame.cpp index 507cadf1a24b8..43abf86befc9a 100644 --- a/src/savegame.cpp +++ b/src/savegame.cpp @@ -323,7 +323,7 @@ void game::load_shortcuts( std::istream &fin ) std::list &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 ) ); } } }