| 981 | } |
| 982 | |
| 983 | bool Game_Map::CanEmbarkShip(Game_Player& player, int x, int y) { |
| 984 | auto bit = GetPassableMask(player.GetX(), player.GetY(), x, y); |
| 985 | return IsPassableTile(&player, bit, player.GetX(), player.GetY()); |
| 986 | } |
| 987 | |
| 988 | bool Game_Map::CanDisembarkShip(Game_Player& player, int x, int y) { |
| 989 | if (!Game_Map::IsValid(x, y)) { |
nothing calls this directly
no test coverage detected