mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-09 19:38:25 +00:00
Blocked an exploit that could result in server errors.
This commit is contained in:
parent
5f843aeb47
commit
99f89ef82a
@ -1468,6 +1468,11 @@ void SaveCheckpoint(int client, int index)
|
|||||||
|
|
||||||
void TeleportToCheckpoint(int client, int index)
|
void TeleportToCheckpoint(int client, int index)
|
||||||
{
|
{
|
||||||
|
if(IsNullVector(gF_Checkpoints[client][index][0]))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Shavit_SetPracticeMode(client, true, !Shavit_InsideZone(client, Track_Main, Zone_Start));
|
Shavit_SetPracticeMode(client, true, !Shavit_InsideZone(client, Track_Main, Zone_Start));
|
||||||
Shavit_LoadSnapshot(client, gA_CheckpointsSnapshots[client][index]);
|
Shavit_LoadSnapshot(client, gA_CheckpointsSnapshots[client][index]);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user