MCPcopy Create free account
hub / github.com/assaultcube/AC / loopv

Function loopv

source/src/bot/bot_waypoint.cpp:1859–1864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1857void botsheadtome(void)
1858{
1859 loopv(bots)
1860 {
1861 if (!bots[i] || !bots[i]->pBot) continue;
1862 bots[i]->pBot->HeadToGoal();
1863 bots[i]->pBot->GoToDebugGoal(player1->o);
1864 }
1865}
1866
1867COMMAND(botsheadtome, "");

Callers

nothing calls this directly

Calls 2

HeadToGoalMethod · 0.80
GoToDebugGoalMethod · 0.80

Tested by

no test coverage detected