Skip to content

Commit

Permalink
fix bad casts that broke Custom Airaccelerate & Custom Speed Limit zo…
Browse files Browse the repository at this point in the history
…nes from 7aca875
  • Loading branch information
rtldg committed Sep 23, 2024
1 parent 1b67644 commit ee0fe65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/sourcemod/scripting/shavit-core.sp
Original file line number Diff line number Diff line change
Expand Up @@ -2900,11 +2900,11 @@ public void Shavit_OnEnterZone(int client, int type, int track, int id, int enti
{
if (type == Zone_Airaccelerate && track == gA_Timers[client].iTimerTrack)
{
gF_ZoneAiraccelerate[client] = view_as<float>(data);
gF_ZoneAiraccelerate[client] = float(data);
}
else if (type == Zone_CustomSpeedLimit && track == gA_Timers[client].iTimerTrack)
{
gF_ZoneSpeedLimit[client] = view_as<float>(data);
gF_ZoneSpeedLimit[client] = float(data);
}
else
{
Expand Down

0 comments on commit ee0fe65

Please sign in to comment.