summaryrefslogtreecommitdiff
path: root/src/water_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/water_map.h')
-rw-r--r--src/water_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/water_map.h b/src/water_map.h
index b1c8f4c16..fe1aab9e5 100644
--- a/src/water_map.h
+++ b/src/water_map.h
@@ -67,7 +67,7 @@ static inline bool IsWaterTile(TileIndex t)
static inline TileIndex GetOtherShipDepotTile(TileIndex t)
{
- return t + (HASBIT(_m[t].m5, 0) ? -1 : 1) * (HASBIT(_m[t].m5, 1) ? TileDiffXY(0, 1) : TileDiffXY(1, 0));
+ return t + (HasBit(_m[t].m5, 0) ? -1 : 1) * (HasBit(_m[t].m5, 1) ? TileDiffXY(0, 1) : TileDiffXY(1, 0));
}
static inline TileIndex IsShipDepot(TileIndex t)