| 1201 | */ |
| 1202 | |
| 1203 | void NPC_BSSearchStart( int homeWp, bState_t bState ) |
| 1204 | { |
| 1205 | //FIXME: Reimplement |
| 1206 | NPCInfo->homeWp = homeWp; |
| 1207 | NPCInfo->tempBehavior = bState; |
| 1208 | NPCInfo->aiFlags |= NPCAI_ENROUTE_TO_HOMEWP; |
| 1209 | NPCInfo->investigateDebounceTime = 0; |
| 1210 | NAV::GetNodePosition(homeWp, NPCInfo->tempGoal->currentOrigin); |
| 1211 | NPCInfo->tempGoal->waypoint = homeWp; |
| 1212 | //gi.Printf("\nHeading for wp %d...\n", NPCInfo->homeWp); |
| 1213 | } |
| 1214 | |
| 1215 | /* |
| 1216 | ------------------------- |
no outgoing calls
no test coverage detected