Fix an undefined operation thanks to spirit of the domain quaddicted.com.

This commit is contained in:
Bill Currie 2010-11-16 08:38:27 +09:00
parent 3b26777985
commit 232d2f7e18
1 changed files with 2 additions and 2 deletions

View File

@ -1090,7 +1090,7 @@ Draw_FadeScreen (void)
((byte *) vid.buffer + vid.rowbytes * y);
pbuf = (unsigned short *) vid.buffer + (vid.rowbytes >> 1) * y;
for (x = 0; x < vid.conwidth; x++)
pbuf[x] = (pbuf[x] >>= 1) & 0x7BEF;
pbuf[x] = (pbuf[x] >> 1) & 0x7BEF;
}
}
break;
@ -1100,7 +1100,7 @@ Draw_FadeScreen (void)
unsigned int *pbuf = (unsigned int *)
((byte *) vid.buffer + vid.rowbytes * y);
for (x = 0; x < vid.conwidth; x++)
pbuf[x] = (pbuf[x] >>= 1) & 0x7F7F7F7F;
pbuf[x] = (pbuf[x] >> 1) & 0x7F7F7F7F;
}
}
break;