summaryrefslogtreecommitdiff
path: root/depot.h
diff options
context:
space:
mode:
authorKUDr <kudr@openttd.org>2006-05-27 16:12:16 +0000
committerKUDr <kudr@openttd.org>2006-05-27 16:12:16 +0000
commit5e73dce0e71791b87e5b096a890578eefcc26639 (patch)
treee4580db6e03032a997fce1392929b7190dc3b03d /depot.h
parent3d01010440440cfbffd1e5d3b0cf1f23f0503a76 (diff)
downloadopenttd-5e73dce0e71791b87e5b096a890578eefcc26639.tar.xz
(svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing.
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;
}