diff options
author | Oliver Kiehl | 2005-06-22 08:33:46 +0000 |
---|---|---|
committer | Oliver Kiehl | 2005-06-22 08:33:46 +0000 |
commit | 8fbbd28f7948323bf20ea281ab570ca8889f6854 (patch) | |
tree | 773a965026bce21a96738f80289f7c5974e44879 | |
parent | 8f4077d9926ec6f59419c33102703bed7ec043b5 (diff) | |
download | scummvm-rg350-8fbbd28f7948323bf20ea281ab570ca8889f6854.tar.gz scummvm-rg350-8fbbd28f7948323bf20ea281ab570ca8889f6854.tar.bz2 scummvm-rg350-8fbbd28f7948323bf20ea281ab570ca8889f6854.zip |
disambiguate undefined operation by removing unneeded calculation.
svn-id: r18434
-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 f384b17c29..d2cb3b4af3 100644 --- a/sky/logic.cpp +++ b/sky/logic.cpp @@ -1337,7 +1337,7 @@ script: } while (--s); if (s == 0) - scriptData += READ_LE_UINT16(scriptData++)/2 - 1; // use the default + scriptData += READ_LE_UINT16(scriptData)/2; // use the default break; case 15: // push_offset push( *(uint16 *)_skyCompact->getCompactElem(_compact, READ_LE_UINT16(scriptData++)) ); |