diff options
Diffstat (limited to 'sky')
-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++)) ); |