mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
Fixed CP exploit fix no.2 doing nothing.
This commit is contained in:
parent
0b738c4c2f
commit
d655a13220
@ -1468,7 +1468,7 @@ void SaveCheckpoint(int client, int index)
|
||||
|
||||
void TeleportToCheckpoint(int client, int index)
|
||||
{
|
||||
if(index >= 0 && index < CP_MAX && IsNullVector(gF_Checkpoints[client][index][0]))
|
||||
if(index < 0 || index >= CP_MAX || IsNullVector(gF_Checkpoints[client][index][0]))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user