diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agos/agos.h | 2 | ||||
-rw-r--r-- | engines/agos/script_s1.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h index 359dfd5ff1..820bc0260b 100644 --- a/engines/agos/agos.h +++ b/engines/agos/agos.h @@ -324,7 +324,7 @@ protected: bool _backFlag; uint16 _debugMode; - uint16 _language; + Common::Language _language; bool _copyProtection; bool _pause; bool _dumpScripts; diff --git a/engines/agos/script_s1.cpp b/engines/agos/script_s1.cpp index b5c39fb65e..a07c05b4fc 100644 --- a/engines/agos/script_s1.cpp +++ b/engines/agos/script_s1.cpp @@ -310,7 +310,7 @@ void AGOSEngine_Simon1::os1_pauseGame() { Common::KeyCode keyYes, keyNo; - Common::getLanguageYesNo((Common::Language)_language, keyYes, keyNo); + Common::getLanguageYesNo(_language, keyYes, keyNo); while (!shouldQuit()) { delay(1); |