changeset 2548 | 97ada3bd2702 |
parent 2520 | 75eb66d6e371 |
child 2617 | a9e1a187de99 |
--- a/station.h Fri Oct 21 12:24:55 2005 +0000 +++ b/station.h Sat Oct 22 06:39:32 2005 +0000 @@ -315,7 +315,8 @@ return st->had_vehicle_of_type & HVOT_BUOY; /* XXX: We should really ditch this ugly coding and switch to something sane... */ } -static inline bool IsBuoyTile(TileIndex tile) { +static inline bool IsBuoyTile(TileIndex tile) +{ return IsTileType(tile, MP_STATION) && _m[tile].m5 == 0x52; }