From b09a81126fc5fb2979f7ef11c5f8bb93b3bfdb24 Mon Sep 17 00:00:00 2001 From: MajorCooke Date: Mon, 14 Dec 2015 23:50:58 -0600 Subject: [PATCH] - 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. --- src/d_player.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_player.h b/src/d_player.h index 1e7eef61e..4e29da8f0 100644 --- a/src/d_player.h +++ b/src/d_player.h @@ -409,7 +409,7 @@ public: int lastkilltime; // [RH] For multikills BYTE multicount; BYTE spreecount; // [RH] Keep track of killing sprees - BYTE WeaponState; + WORD WeaponState; AWeapon *ReadyWeapon; AWeapon *PendingWeapon; // WP_NOCHANGE if not changing