aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game.cpp
diff options
context:
space:
mode:
authorSven Hesse2011-08-27 01:08:48 +0200
committerSven Hesse2011-08-28 21:54:42 +0200
commit5b25fc3e25389c8d44b05bb92d514229f595b627 (patch)
treec8e43b4c1ce15b19fe4283383fd68362cc765898 /engines/gob/game.cpp
parent722a9459fe65c6d129cdaf2bbe38b41195cc844f (diff)
downloadscummvm-rg350-5b25fc3e25389c8d44b05bb92d514229f595b627.tar.gz
scummvm-rg350-5b25fc3e25389c8d44b05bb92d514229f595b627.tar.bz2
scummvm-rg350-5b25fc3e25389c8d44b05bb92d514229f595b627.zip
GOB: Fix language inconsistencies in Geisha
Diffstat (limited to 'engines/gob/game.cpp')
-rw-r--r--engines/gob/game.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/gob/game.cpp b/engines/gob/game.cpp
index 7b43e9c4d7..502a440005 100644
--- a/engines/gob/game.cpp
+++ b/engines/gob/game.cpp
@@ -583,7 +583,11 @@ void Game::playTot(int16 function) {
WRITE_VAR(13, _vm->_global->_useMouse);
WRITE_VAR(14, _vm->_global->_soundFlags);
WRITE_VAR(15, _vm->_global->_fakeVideoMode);
- WRITE_VAR(16, _vm->_global->_language);
+
+ if (_vm->getGameType() == kGameTypeGeisha)
+ WRITE_VAR(57, _vm->_global->_language);
+ else
+ WRITE_VAR(16, _vm->_global->_language);
// WORKAROUND: Inca2 seems to depend on that variable to be cleared
if (_vm->getGameType() == kGameTypeInca2)