Removed accidentally left debug thing.
This commit is contained in:
parent
dae7fc8db7
commit
c793ab9ee1
2 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue