diff options
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 3d17daa8da..c1a2ea0e95 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -1550,7 +1550,7 @@ void ScummEngine_v6::o6_roomOps() { case 181: // SO_ROOM_FADE a = pop(); if (a) { - _switchRoomEffect = (byte)(a&0xFF); + _switchRoomEffect = (byte)(a & 0xFF); _switchRoomEffect2 = (byte)(a >> 8); } else { fadeIn(_newEffect); @@ -2090,7 +2090,7 @@ void ScummEngine_v6::o6_wait() { if (camera._dest != camera._cur) break; } else { - if (camera._cur.x >> 3 != camera._dest.x >> 3) + if (camera._cur.x / 8 != camera._dest.x / 8) break; } |