From 0c3a33c354c027ee238186794d96c3047d0a4ce2 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sat, 29 Jan 2011 22:45:15 +0000 Subject: GOB: Change _curTotFile and _totToLoad into Common::String svn-id: r55629 --- engines/gob/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/gob/util.cpp') diff --git a/engines/gob/util.cpp b/engines/gob/util.cpp index c1cf42b1de..57efdc074b 100644 --- a/engines/gob/util.cpp +++ b/engines/gob/util.cpp @@ -153,7 +153,7 @@ void Util::processInput(bool scroll) { // WORKAROUND: // Force a check of the mouse in order to fix the sofa bug. This apply only for Gob3, and only // in the impacted TOT file so that the second screen animation is not broken. - if ((_vm->getGameType() == kGameTypeGob3) && !scumm_stricmp(_vm->_game->_curTotFile, "EMAP1008.TOT")) + if ((_vm->getGameType() == kGameTypeGob3) && _vm->_game->_curTotFile.equalsIgnoreCase("EMAP1008.TOT")) _vm->_game->evaluateScroll(); } } -- cgit v1.2.3