| 1857 | } |
| 1858 | |
| 1859 | Game_Vehicle* Game_Map::GetVehicle(Game_Vehicle::Type which) { |
| 1860 | if (which == Game_Vehicle::Boat || |
| 1861 | which == Game_Vehicle::Ship || |
| 1862 | which == Game_Vehicle::Airship) { |
| 1863 | return &vehicles[which - 1]; |
| 1864 | } |
| 1865 | |
| 1866 | return nullptr; |
| 1867 | } |
| 1868 | |
| 1869 | bool Game_Map::IsAnyEventStarting() { |
| 1870 | for (Game_Event& ev : events) |
no outgoing calls
no test coverage detected