mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
move zone modifier stuff around so they don't reset
This commit is contained in:
parent
757c2f051f
commit
11137e9407
@ -1241,6 +1241,11 @@ public void OnClientPutInServer(int client)
|
||||
}
|
||||
|
||||
Reset(client);
|
||||
|
||||
gF_Modifier[client] = 16.0;
|
||||
gI_GridSnap[client] = 16;
|
||||
gB_SnapToWall[client] = false;
|
||||
gB_CursorTracing[client] = true;
|
||||
}
|
||||
|
||||
void GetStartPosition(int client)
|
||||
@ -2164,11 +2169,7 @@ public int MenuHandler_SelectZoneType(Menu menu, MenuAction action, int param1,
|
||||
void Reset(int client)
|
||||
{
|
||||
gI_ZoneTrack[client] = Track_Main;
|
||||
gF_Modifier[client] = 16.0;
|
||||
gI_MapStep[client] = 0;
|
||||
gI_GridSnap[client] = 16;
|
||||
gB_SnapToWall[client] = false;
|
||||
gB_CursorTracing[client] = true;
|
||||
gI_ZoneFlags[client] = 0;
|
||||
gI_ZoneData[client] = 0;
|
||||
gI_ZoneDatabaseID[client] = -1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user