summaryrefslogtreecommitdiff
path: root/depot.h
diff options
context:
space:
mode:
Diffstat (limited to 'depot.h')
-rw-r--r--depot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/depot.h b/depot.h
index 19d21ebbf..5acb0fcb5 100644
--- a/depot.h
+++ b/depot.h
@@ -133,7 +133,7 @@ static inline DiagDirection GetDepotDirection(TileIndex tile, TransportType type
*/
static inline bool CanBuildDepotByTileh(uint32 direction, Slope tileh)
{
- return (0x4C >> direction) & tileh;
+ return ((0x4C >> direction) & tileh) != 0;
}