From 043f92cb230f6afc83e5635cc1610c5d166e105f Mon Sep 17 00:00:00 2001 From: Kari Salminen Date: Sat, 3 May 2008 13:01:58 +0000 Subject: Fix compilation on MSVC (Updated project files and turned a 'int forced to bool' warning off). svn-id: r31840 --- engines/kyra/script_hof.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/kyra') diff --git a/engines/kyra/script_hof.cpp b/engines/kyra/script_hof.cpp index d4960de007..af10106fd3 100644 --- a/engines/kyra/script_hof.cpp +++ b/engines/kyra/script_hof.cpp @@ -649,7 +649,7 @@ int KyraEngine_HoF::o2_restoreBackBuffer(EMCState *script) { restorePage3(); if (disable) - _animObjects[0].enabled = oldState; + _animObjects[0].enabled = (oldState != 0); return 0; } -- cgit v1.2.3