Explicitly stated a bit masking to please VC.NET2003 runtime small types conversion checks.

svn-id: r9670
This commit is contained in:
Bertrand Augereau 2003-08-13 22:26:31 +00:00
parent de082fc7df
commit 0563d61106

View File

@ -1722,7 +1722,7 @@ void Scumm_v5::o5_roomOps() {
case 10: /* ? */
a = getVarOrDirectWord(0x80);
if (a) {
_switchRoomEffect = (byte)a;
_switchRoomEffect = (byte)(a&0xFF);
_switchRoomEffect2 = (byte)(a >> 8);
} else {
fadeIn(_newEffect);