Skip to content

Commit

Permalink
Index out of bound fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexer10 committed Jun 22, 2018
1 parent 7824ec1 commit 6d0a2ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/vipmenu.sp
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ public void Menu_PlayerSpawn(Event event, const char[] name, bool dontBroadcast)
}

for (int i = 0; i < sizeof(bUsed[]); i++)
bUsed[i][client] = false;
bUsed[client][i] = false;

iMenuUse[client] = 0;
bRegen[client] = false;
Expand Down

0 comments on commit 6d0a2ae

Please sign in to comment.