From 308f27a3de3817cc96ad21b7830b261443206cc0 Mon Sep 17 00:00:00 2001 From: KUDr Date: Sat, 27 May 2006 16:12:16 +0000 Subject: (svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing. --- station.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'station.h') 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 */ -- cgit v1.2.3-54-g00ecf