summaryrefslogtreecommitdiff
path: root/station.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
commit308f27a3de3817cc96ad21b7830b261443206cc0 (patch)
treee4580db6e03032a997fce1392929b7190dc3b03d /station.h
parent3c2eb4f0865c912340f292ece24cf5664559c1ad (diff)
downloadopenttd-308f27a3de3817cc96ad21b7830b261443206cc0.tar.xz
(svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing.
Diffstat (limited to 'station.h')
-rw-r--r--station.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/station.h b/station.h
index a1d7dc5ae..f6907a570 100644
--- a/station.h
+++ b/station.h
@@ -221,7 +221,7 @@ static inline bool IsValidStation(const Station *st)
static inline bool IsBuoy(const Station* st)
{
- return st->had_vehicle_of_type & HVOT_BUOY; /* XXX: We should really ditch this ugly coding and switch to something sane... */
+ return (st->had_vehicle_of_type & HVOT_BUOY) != 0; /* XXX: We should really ditch this ugly coding and switch to something sane... */
}
#endif /* STATION_H */