Skip to content

Commit

Permalink
Fix spray logo using wrong decal after save game load when not using …
Browse files Browse the repository at this point in the history
…custom spray

Resolves #193
  • Loading branch information
SamVanheer committed Mar 23, 2023
1 parent 1d5610c commit fa35443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/player.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class CBasePlayer : public CBaseMonster

int m_lastx, m_lasty; // These are the previous update's crosshair angles, DON"T SAVE/RESTORE

int m_nCustomSprayFrames; // Custom clan logo frames for this player
int m_nCustomSprayFrames = -1; // Custom clan logo frames for this player
float m_flNextDecalTime; // next time this player can spray a decal

char m_szTeamName[TEAM_NAME_LENGTH];
Expand Down

0 comments on commit fa35443

Please sign in to comment.