Skip to content

Commit

Permalink
Speedometer TopHeight Bug Fix
Browse files Browse the repository at this point in the history
Fixed TopHeight only working for > 0 values
  • Loading branch information
Toyro98 committed Mar 15, 2024
1 parent 84fc1b9 commit 08dbdfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Client/addons/trainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,14 +365,14 @@ struct Tracker

Tracker()
{
Value = T();
Value = std::numeric_limits<T>::lowest();
TimeHit = 0.0f;
ResetAfterSeconds = 2.75f; // 2.75f Comes from checking how long it took for the original speedometer to reset
}

void Reset()
{
Value = 0.0f;
Value = std::numeric_limits<T>::lowest();
TimeHit = 0.0f;
}

Expand Down

0 comments on commit 08dbdfd

Please sign in to comment.