aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorOystein Eftevaag2007-10-13 18:53:02 +0000
committerOystein Eftevaag2007-10-13 18:53:02 +0000
commit7f7b08b42ee8aa99d121ade8b8055d74c76f5fbc (patch)
treeebf90c34170ea8408990c7abc21c71e9ccd773b1 /engines/kyra
parent4f93e96d5ff321ad051f0cee9c6083fe85ad1686 (diff)
downloadscummvm-rg350-7f7b08b42ee8aa99d121ade8b8055d74c76f5fbc.tar.gz
scummvm-rg350-7f7b08b42ee8aa99d121ade8b8055d74c76f5fbc.tar.bz2
scummvm-rg350-7f7b08b42ee8aa99d121ade8b8055d74c76f5fbc.zip
Forgot to rename a variable
svn-id: r29209
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/script_v2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/script_v2.cpp b/engines/kyra/script_v2.cpp
index deea962690..4f670956cf 100644
--- a/engines/kyra/script_v2.cpp
+++ b/engines/kyra/script_v2.cpp
@@ -93,10 +93,10 @@ int KyraEngine_v2::o2_setSceneComment(ScriptState *script) {
int KyraEngine_v2::o2_setCharacterAnimFrame(ScriptState *script) {
debugC(3, kDebugLevelScriptFuncs, "o2_setCharacterAnimFrame(%p) (-, %d, %d)", (const void *)script, stackPos(1), stackPos(2));
int animFrame = stackPos(1);
- int skipRefresh = stackPos(2);
+ int updateAnim = stackPos(2);
_mainCharacter.animFrame = animFrame;
- if (skipRefresh)
+ if (updateAnim)
updateCharacterAnim(0);
return 0;