* Checks if a tile is valid * * @param tile The tile to check * @return True if the tile is on the map and not one of MP_VOID. */
| 159 | * @return True if the tile is on the map and not one of MP_VOID. |
| 160 | */ |
| 161 | inline bool IsValidTile(Tile tile) |
| 162 | { |
| 163 | return tile < Map::Size() && !IsTileType(tile, MP_VOID); |
| 164 | } |
| 165 | |
| 166 | /** |
| 167 | * Returns the owner of a tile |
no test coverage detected