diff options
author | Paweł Kołodziejski | 2004-08-14 09:10:14 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2004-08-14 09:10:14 +0000 |
commit | d62ff5dca7b9bb7009d4edc91c2e3f31863ecb7d (patch) | |
tree | cf6e3788676edd2e59d926442f0f0f18166b0d8e /sky | |
parent | 80bcaf8d0943ffcaa8f669fd773374877f7e1428 (diff) | |
download | scummvm-rg350-d62ff5dca7b9bb7009d4edc91c2e3f31863ecb7d.tar.gz scummvm-rg350-d62ff5dca7b9bb7009d4edc91c2e3f31863ecb7d.tar.bz2 scummvm-rg350-d62ff5dca7b9bb7009d4edc91c2e3f31863ecb7d.zip |
fixed warnings
svn-id: r14603
Diffstat (limited to 'sky')
-rw-r--r-- | sky/logic.cpp | 3 |
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(); |