Fix an undefined operation thanks to spirit of the domain quaddicted.com.
This commit is contained in:
parent
3b26777985
commit
232d2f7e18
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue