mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-09 11:28: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)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user