diff options
Diffstat (limited to 'engines/touche/opcodes.cpp')
-rw-r--r-- | engines/touche/opcodes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/touche/opcodes.cpp b/engines/touche/opcodes.cpp index 3fe0e093d7..e1492e4e08 100644 --- a/engines/touche/opcodes.cpp +++ b/engines/touche/opcodes.cpp @@ -843,9 +843,9 @@ void ToucheEngine::op_setupFollowingKeyChar() { void ToucheEngine::op_startAnimation() { debugC(9, kDebugOpcodes, "ToucheEngine::op_startAnimation()"); - int16 num = _script.readNextWord(); + int16 keyChar = _script.readNextWord(); int16 pos = _script.readNextWord(); - int16 keyChar = *_script.stackDataPtr; + int16 num = *_script.stackDataPtr; addToAnimationTable(num, pos, keyChar, 3); } |