From 5b25fc3e25389c8d44b05bb92d514229f595b627 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sat, 27 Aug 2011 01:08:48 +0200 Subject: GOB: Fix language inconsistencies in Geisha --- engines/gob/game.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'engines/gob/game.cpp') 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) -- cgit v1.2.3