From db1b4f0e140ba667ac1a1b0aa3f2ca2d110027db Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 26 Mar 2008 21:52:28 +0000 Subject: - reworked skip flag handling in some places again - hopefully fixed tons of warnings related to stackPosString svn-id: r31253 --- engines/kyra/kyra_v2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/kyra/kyra_v2.cpp') diff --git a/engines/kyra/kyra_v2.cpp b/engines/kyra/kyra_v2.cpp index 42209d34c3..3c1014a94b 100644 --- a/engines/kyra/kyra_v2.cpp +++ b/engines/kyra/kyra_v2.cpp @@ -1573,7 +1573,7 @@ void KyraEngine_v2::processNewShapes(int unk1, int unk2) { resetSkipFlag(); - while (_scriptInterpreter->validScript(&_temporaryScriptState) && !skipFlag()) { + while (_scriptInterpreter->validScript(&_temporaryScriptState)) { _temporaryScriptExecBit = false; while (_scriptInterpreter->validScript(&_temporaryScriptState) && !_temporaryScriptExecBit) _scriptInterpreter->runScript(&_temporaryScriptState); -- cgit v1.2.3