if(!(f & WAYPOINTFLAG_GENERATED))
{
LOG_TRACE("Killed a waypoint that was stuck in solid at ", vtos(w.origin), "\n");
- remove(w);
+ delete(w);
return NULL;
}
else
waypoint_schedulerelink(e.wp30);
waypoint_schedulerelink(e.wp31);
// and now remove the spawnfunc_waypoint
- remove(e);
+ delete(e);
}
// empties the map of waypoints
{
IL_EACH(g_waypoints, true,
{
- remove(it);
+ delete(it);
});
}