AGOS: Slight cleanup.

Now AgosEngine::_language is of type Common::Language instead of uint16. It is
currently only used with values of that enumeration, thus it should be safe to
use that type for it too.
This commit is contained in:
Johannes Schickel 2011-08-20 19:30:18 +02:00
parent caeac1f8e3
commit 5a1f75eae3
2 changed files with 2 additions and 2 deletions

View file

@ -324,7 +324,7 @@ protected:
bool _backFlag; bool _backFlag;
uint16 _debugMode; uint16 _debugMode;
uint16 _language; Common::Language _language;
bool _copyProtection; bool _copyProtection;
bool _pause; bool _pause;
bool _dumpScripts; bool _dumpScripts;

View file

@ -310,7 +310,7 @@ void AGOSEngine_Simon1::os1_pauseGame() {
Common::KeyCode keyYes, keyNo; Common::KeyCode keyYes, keyNo;
Common::getLanguageYesNo((Common::Language)_language, keyYes, keyNo); Common::getLanguageYesNo(_language, keyYes, keyNo);
while (!shouldQuit()) { while (!shouldQuit()) {
delay(1); delay(1);