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

Function addwp

source/src/bot/bot_waypoint.cpp:1676–1680  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1674// Waypoint commands begin
1675
1676void addwp(int *autoconnect)
1677{
1678 WaypointClass.SetWaypointsVisible(true);
1679 WaypointClass.AddWaypoint(curselection, *autoconnect!=0);
1680}
1681
1682COMMAND(addwp, "i");
1683

Callers

nothing calls this directly

Calls 2

SetWaypointsVisibleMethod · 0.80
AddWaypointMethod · 0.45

Tested by

no test coverage detected