Removed accidentally left debug thing.

This commit is contained in:
Dmitry 2019-05-11 01:18:29 +03:00 committed by jeefo
commit c793ab9ee1
2 changed files with 1 additions and 2 deletions

View file

@ -1725,7 +1725,6 @@ void Bot::buyStuff (void) {
else { else {
engine.execBotCmd (ent (), "nvgs"); // use alias in steamcs engine.execBotCmd (ent (), "nvgs"); // use alias in steamcs
} }
engine.print ("%s bought googles", STRING (pev->netname));
} }
} }
break; break;

View file

@ -840,7 +840,7 @@ void Waypoint::erase (int target) {
} }
int index = (target == INVALID_WAYPOINT_INDEX) ? getEditorNeareset () : target; int index = (target == INVALID_WAYPOINT_INDEX) ? getEditorNeareset () : target;
if (index == INVALID_WAYPOINT_INDEX) { if (!exists (index)) {
return; return;
} }