move zone modifier stuff around so they don't reset

This commit is contained in:
rtldg 2021-07-07 02:47:27 +00:00
parent 757c2f051f
commit 11137e9407

View File

@ -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;