diff options
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r-- | scumm/script_v5.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index b2c3cf1f99..110fd39261 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -2680,7 +2680,7 @@ printf("o5_oldRoomEffect ODDBALL: _opcode = 0x%x, a = 0x%x\n", _opcode, a); } if (a) { - _switchRoomEffect = (byte)a; + _switchRoomEffect = (byte)(a&0xFF); _switchRoomEffect2 = (byte)(a >> 8); } else { fadeIn(_newEffect); |