| 549 | } |
| 550 | |
| 551 | static void ArcadeMove(AIGroupContext* context) |
| 552 | { |
| 553 | STATE_PREFIX |
| 554 | |
| 555 | int& index = context->_fsm->Var(0); |
| 556 | mission->_destination = GetWaypointPosition(group, index); |
| 557 | |
| 558 | if (group->IsPlayerGroup()) |
| 559 | { |
| 560 | return; |
| 561 | } |
| 562 | |
| 563 | group->Move(group->MainSubgroup(), // who |
| 564 | mission->_destination, // where |
| 565 | Command::Undefined // how |
| 566 | ); |
| 567 | } |
| 568 | |
| 569 | static bool CheckArcadeMove(AIGroupContext* context, ArcadeFSMStates next) |
| 570 | { |
no test coverage detected