Skip to content

Commit

Permalink
Fix accuracy being 0.0 in the stats screen
Browse files Browse the repository at this point in the history
  • Loading branch information
smallmodel committed Jan 9, 2025
1 parent bbfd4ac commit 6ff14ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/fgame/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10360,7 +10360,7 @@ void Player::Stats(Event *ev)
m_iObjectivesCompleted,
iNumShotsFired,
iNumHits,
(iNumHits / iNumShotsFired * 100.f),
((float)iNumHits / (float)iNumShotsFired * 100.f),
szPreferredWeapon.c_str(),
m_iNumHitsTaken,
m_iNumObjectsDestroyed,
Expand Down

0 comments on commit 6ff14ea

Please sign in to comment.