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

@ -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);