- Changed WeaponState from 8-bit to 16-bit integer.

- Because the flags for WF_USER#OK are 256 on up, this is required in order to work.
This commit is contained in:
MajorCooke 2015-12-14 23:50:58 -06:00 committed by Randy Heit
parent eed6680a67
commit b09a81126f

View file

@ -409,7 +409,7 @@ public:
int lastkilltime; // [RH] For multikills int lastkilltime; // [RH] For multikills
BYTE multicount; BYTE multicount;
BYTE spreecount; // [RH] Keep track of killing sprees BYTE spreecount; // [RH] Keep track of killing sprees
BYTE WeaponState; WORD WeaponState;
AWeapon *ReadyWeapon; AWeapon *ReadyWeapon;
AWeapon *PendingWeapon; // WP_NOCHANGE if not changing AWeapon *PendingWeapon; // WP_NOCHANGE if not changing