mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
don't let zones positions be at the same spot
This commit is contained in:
parent
ca6ad88b7b
commit
57e6f9563d
@ -2517,8 +2517,13 @@ public Action Shavit_OnUserCmdPre(int client, int &buttons, int &impulse, float
|
||||
|
||||
ShowPanel(client, 2);
|
||||
}
|
||||
|
||||
else if(gI_MapStep[client] == 2)
|
||||
{
|
||||
if (origin[0] == gV_Point1[client][0] || origin[1] == gV_Point1[client][1])
|
||||
{
|
||||
ShowPanel(client, 2);
|
||||
}
|
||||
else
|
||||
{
|
||||
origin[2] += gCV_Height.FloatValue;
|
||||
gV_Point2[client] = origin;
|
||||
@ -2528,14 +2533,10 @@ public Action Shavit_OnUserCmdPre(int client, int &buttons, int &impulse, float
|
||||
CreateEditMenu(client);
|
||||
}
|
||||
}
|
||||
|
||||
gB_Button[client] = true;
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
gB_Button[client] = false;
|
||||
}
|
||||
gB_Button[client] = (buttons & button) > 0;
|
||||
}
|
||||
|
||||
if(InsideZone(client, Zone_Slide, (gCV_EnforceTracks.BoolValue)? track:-1) && GetEntPropEnt(client, Prop_Send, "m_hGroundEntity") == -1)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user