aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
Diffstat (limited to 'sky')
-rw-r--r--sky/logic.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sky/logic.cpp b/sky/logic.cpp
index d3c6b73527..d4bc08482b 100644
--- a/sky/logic.cpp
+++ b/sky/logic.cpp
@@ -779,7 +779,8 @@ void Logic::stopAndWait() {
uint16 *offset = SkyCompact::getSub(_compact, _compact->mode + 2);
*scriptNo = (uint16)(_compact->extCompact->stopScript & 0xffff);
- *offset = (uint16)(_compact->extCompact->stopScript >> 16);
+ *offset = 0; //stopScript is uint16, after right shift is zero
+// *offset = (uint16)(_compact->extCompact->stopScript >> 16);
_compact->logic = L_SCRIPT;
logicScript();