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

Function unsetjumpwp

source/src/bot/bot_waypoint.cpp:1811–1818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1809COMMAND(setjumpwp, "");
1810
1811void unsetjumpwp(void)
1812{
1813 node_s *wp = WaypointClass.GetNearestWaypoint(curselection, 20.0f);
1814 if (wp)
1815 {
1816 WaypointClass.UnsetWPFlags(wp, W_FL_JUMP);
1817 }
1818}
1819
1820COMMAND(unsetjumpwp, "");
1821

Callers

nothing calls this directly

Calls 2

UnsetWPFlagsMethod · 0.80
GetNearestWaypointMethod · 0.45

Tested by

no test coverage detected