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
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue