Searched refs:pWptNearEnt (Results 1 – 2 of 2) sorted by relevance
237 waypoint_s *pWptNearEnt = NULL; in SearchForEnts() local245 pWptNearEnt = GetNearestFloodWP(o, 8.0f); in SearchForEnts()248 pWptNearEnt = GetNearestWaypoint(o, 15.0f); in SearchForEnts()250 if (!pWptNearEnt) continue; in SearchForEnts()254 if (pWptNearEnt == NULL) // Ent is visible in SearchForEnts()262 if (pWptNearEnt) in SearchForEnts()263 pBestWpt = pWptNearEnt; in SearchForEnts()
888 node_s *pWptNearEnt = NULL; in PickNextTrigger() local890 pWptNearEnt = WaypointClass.GetNearestTriggerWaypoint(o, 2.0f); in PickNextTrigger()892 if (pWptNearEnt) in PickNextTrigger()894 if ((pWptNearEnt->sTriggerNr > 0) && in PickNextTrigger()896 lowest = pWptNearEnt->sTriggerNr; in PickNextTrigger()897 if (pWptNearEnt->sTriggerNr == 0) found0 = true; in PickNextTrigger()901 pWptNearEnt = WaypointClass.GetNearestTriggerFloodWP(o, 2.0f); in PickNextTrigger()903 if (pWptNearEnt) in PickNextTrigger()905 if ((pWptNearEnt->sTriggerNr > 0) && in PickNextTrigger()907 lowest = pWptNearEnt->sTriggerNr; in PickNextTrigger()[all …]