| 2045 | } |
| 2046 | |
| 2047 | bool commandCanBeSentToAll(int optionSelected) |
| 2048 | { |
| 2049 | if ( optionSelected != ALLY_CMD_MOVETO_CONFIRM |
| 2050 | && optionSelected != ALLY_CMD_ATTACK_CONFIRM |
| 2051 | && optionSelected != ALLY_CMD_FOLLOW |
| 2052 | && optionSelected != ALLY_CMD_DEFEND ) |
| 2053 | { |
| 2054 | return false; |
| 2055 | } |
| 2056 | return true; |
| 2057 | } |
| 2058 | |
| 2059 | std::vector<Entity*> getAllOtherFollowersForSendAllCommand(const int gui_player, Entity* followerToCommand, Monster followerType, int optionSelected) |
| 2060 | { |
no outgoing calls
no test coverage detected