Skip to content

Commit ca8aca0

Browse files
committed
Blood: Fix type name of q16 PLAYER fields and mention flashEffect's original type
(no actual change in behaviors should be here.)
1 parent 1af3d49 commit ca8aca0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/blood/src/player.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ struct PLAYER
148148
int zWeapon;
149149
int zWeaponVel;
150150
fix16_t q16look;
151-
int q16horiz; // horiz
152-
int q16slopehoriz; // horizoff
151+
fix16_t q16horiz; // horiz
152+
fix16_t q16slopehoriz; // horizoff
153153
int slope;
154154
bool isUnderwater;
155155
bool hasKey[8];
@@ -217,7 +217,7 @@ struct PLAYER
217217
int handTime;
218218
bool hand; // if true, there is hand start choking the player
219219
int pickupEffect;
220-
bool flashEffect; // if true, reduce pPlayer->visibility counter
220+
bool flashEffect; // if true, reduce pPlayer->visibility counter; originally 32-bit
221221
int quakeEffect;
222222
fix16_t q16ang;
223223
int angold;

0 commit comments

Comments
 (0)