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:
parent
caeac1f8e3
commit
5a1f75eae3
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue