diff options
author | Simon Howard | 2015-02-19 23:50:04 -0500 |
---|---|---|
committer | Simon Howard | 2015-02-19 23:52:02 -0500 |
commit | 714d7a29397b44fcb2b1fef2d675d296cb984264 (patch) | |
tree | 12a5fc0268107aa1ab7b4a2c827062d439331c33 /src/i_joystick.c | |
parent | 51ab62f6fb06b42c80c98ea71ab29d208d10e422 (diff) | |
download | chocolate-doom-714d7a29397b44fcb2b1fef2d675d296cb984264.tar.gz chocolate-doom-714d7a29397b44fcb2b1fef2d675d296cb984264.tar.bz2 chocolate-doom-714d7a29397b44fcb2b1fef2d675d296cb984264.zip |
doom: Change weaponowned[] to an int array.
The st_stuff.c status bar code passes pointer to an entry in
weaponowned[] as an int pointer, but weaponowned[] is an array
of booleans and booleans are not always represented as 32-bit ints.
Remove the (int *) cast and ensure correct behavior.
This fixes the immediate issue in #509 (thanks floppes).
Diffstat (limited to 'src/i_joystick.c')
0 files changed, 0 insertions, 0 deletions