diff options
author | Max Horn | 2003-07-07 01:36:24 +0000 |
---|---|---|
committer | Max Horn | 2003-07-07 01:36:24 +0000 |
commit | e72f9e813bca683a6750ea988da240eb78896c46 (patch) | |
tree | 201eaa8fd81d5f0a10d3c55ea6385f8503a6b3b9 | |
parent | 37ec2a14bb861d1976c9fe47c64f2181359a5c14 (diff) | |
download | scummvm-rg350-e72f9e813bca683a6750ea988da240eb78896c46.tar.gz scummvm-rg350-e72f9e813bca683a6750ea988da240eb78896c46.tar.bz2 scummvm-rg350-e72f9e813bca683a6750ea988da240eb78896c46.zip |
endian fix by LavosSpawn (helps a lot :-)
svn-id: r8828
-rw-r--r-- | sky/logic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/logic.cpp b/sky/logic.cpp index b3c0899957..938604e471 100644 --- a/sky/logic.cpp +++ b/sky/logic.cpp @@ -1304,7 +1304,7 @@ script: a = pop(); // and value to switch on do { - if (a == *scriptData) { + if (a == READ_LE_UINT16(scriptData)) { scriptData += READ_LE_UINT16(scriptData + 1)/2; scriptData++; break; |