aboutsummaryrefslogtreecommitdiff
path: root/sword2/interpreter.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-01-10 21:56:59 +0000
committerTorbjörn Andersson2004-01-10 21:56:59 +0000
commita7fe335c82de60a776bf2131c1451acd6f48d435 (patch)
tree2c85a98d50f7f9b89eff941b536762dfacef00a7 /sword2/interpreter.cpp
parent5616955701657cd71462ae880bd25e1b4f3e31c1 (diff)
downloadscummvm-rg350-a7fe335c82de60a776bf2131c1451acd6f48d435.tar.gz
scummvm-rg350-a7fe335c82de60a776bf2131c1451acd6f48d435.tar.bz2
scummvm-rg350-a7fe335c82de60a776bf2131c1451acd6f48d435.zip
I forgot this in the previous cleanup.
svn-id: r12311
Diffstat (limited to 'sword2/interpreter.cpp')
-rw-r--r--sword2/interpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/interpreter.cpp b/sword2/interpreter.cpp
index 296fd5b7b4..ee31c490f1 100644
--- a/sword2/interpreter.cpp
+++ b/sword2/interpreter.cpp
@@ -333,7 +333,7 @@ int Logic::runScript(char *scriptData, char *objectData, uint32 *offset) {
case CP_RESTART_SCRIPT:
// Start the script again
debug(5, "Restart script");
- ip = READ_LE_UINT32(&offsetTable[scriptNumber]);
+ ip = FROM_LE_32(offsetTable[scriptNumber]);
break;
// Stack-related opcodes