aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/script_s1.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2011-08-20 19:30:18 +0200
committerJohannes Schickel2011-08-20 19:30:18 +0200
commit5a1f75eae3a1d15bf0c610d2468a2afef30a893b (patch)
tree841c25b0cfc00f76bc79ef61f60c257adf095db8 /engines/agos/script_s1.cpp
parentcaeac1f8e37ba68b8800e4094c493162b5701bb2 (diff)
downloadscummvm-rg350-5a1f75eae3a1d15bf0c610d2468a2afef30a893b.tar.gz
scummvm-rg350-5a1f75eae3a1d15bf0c610d2468a2afef30a893b.tar.bz2
scummvm-rg350-5a1f75eae3a1d15bf0c610d2468a2afef30a893b.zip
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.
Diffstat (limited to 'engines/agos/script_s1.cpp')
-rw-r--r--engines/agos/script_s1.cpp2
1 files changed, 1 insertions, 1 deletions
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);