diff options
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 462c4429f7..31f5eea0fb 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -1540,7 +1540,7 @@ void Scumm_v6::o6_roomOps() { case 181: a = pop(); if (a) { - _switchRoomEffect = (byte)(a); + _switchRoomEffect = (byte)(a&0xFF); _switchRoomEffect2 = (byte)(a >> 8); } else { fadeIn(_newEffect); |