Skip to content

Commit 17e6011

Browse files
authored
probably unbreak sm 1.12 builds with my good friends fempty and bempty
1 parent ef2e2bb commit 17e6011

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

addons/sourcemod/scripting/shavit-stats.sp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,10 @@ public void OnClientConnected(int client)
217217
{
218218
gF_PlaytimeStart[client] = 0.0;
219219
gF_PlaytimeStyleStart[client] = 0.0;
220-
any empty[STYLE_LIMIT];
221-
gF_PlaytimeStyleSum[client] = empty;
222-
gB_HavePlaytimeOnStyle[client] = empty;
220+
float fempty[STYLE_LIMIT];
221+
bool bempty[STYLE_LIMIT];
222+
gF_PlaytimeStyleSum[client] = fempty;
223+
gB_HavePlaytimeOnStyle[client] = bempty;
223224
gB_QueriedPlaytime[client] = false;
224225
}
225226

0 commit comments

Comments
 (0)