mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-23 06:15:43 +00:00
Fix up wpedit
This commit is contained in:
parent
20bc803498
commit
23dbbb9439
@ -665,6 +665,13 @@ DeleteAllWaypoints()
|
|||||||
{
|
{
|
||||||
level.waypoints = [];
|
level.waypoints = [];
|
||||||
level.waypointCount = 0;
|
level.waypointCount = 0;
|
||||||
|
level.waypointsKDTree = WaypointsToKDTree();
|
||||||
|
|
||||||
|
level.waypointsCamp = [];
|
||||||
|
level.waypointsTube = [];
|
||||||
|
level.waypointsGren = [];
|
||||||
|
level.waypointsClay = [];
|
||||||
|
level.waypointsJav = [];
|
||||||
|
|
||||||
self iprintln("DelAllWps");
|
self iprintln("DelAllWps");
|
||||||
}
|
}
|
||||||
@ -709,9 +716,7 @@ destroyOnDeath(hud)
|
|||||||
{
|
{
|
||||||
hud endon("death");
|
hud endon("death");
|
||||||
self waittill_either("death","disconnect");
|
self waittill_either("death","disconnect");
|
||||||
hud notify("death");
|
|
||||||
hud destroy();
|
hud destroy();
|
||||||
hud = undefined;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
initHudElem(txt, xl, yl)
|
initHudElem(txt, xl, yl)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user