mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-16 17:01:39 +00:00
- Exhumed: Ensure Player::items[]
is signed.
* Change originates from b71c725e3e
.
* Matches PCExhumed and GDX.
* Logic in game requires this variable to be signed.
* Fixes #415.
* Fixes #888.
This commit is contained in:
parent
3d6f1e1a04
commit
cb1e4e7a34
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ struct Player
|
|||
int16_t nMagic;
|
||||
int16_t nItem;
|
||||
int8_t nCurrentItem;
|
||||
uint8_t items[8];
|
||||
int8_t items[8];
|
||||
int16_t nAmmo[7]; // TODO - kMaxWeapons?
|
||||
|
||||
int16_t nCurrentWeapon;
|
||||
|
|
|
@ -50,7 +50,7 @@ struct ExhumedPlayer native
|
|||
native uint16 keys;
|
||||
native int16 nMagic;
|
||||
native int16 nItem;
|
||||
native uint8 items[8];
|
||||
native int8 items[8];
|
||||
native int16 nAmmo[7]; // TODO - kMaxWeapons?
|
||||
native int16 nPlayerWeapons;
|
||||
|
||||
|
|
Loading…
Reference in a new issue