diff options
author | celestar <celestar@openttd.org> | 2007-02-01 16:48:38 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2007-02-01 16:48:38 +0000 |
commit | 5678febfe22b9cee3ae90d8335c7969c76c4a6fb (patch) | |
tree | 5cfbae0423a54b9a908dcd3d47a2a9c688ba5d8c /src/vehicle_gui.cpp | |
parent | 33cadd5043d8ecf82bdeb10efb2d44528e612846 (diff) | |
download | openttd-5678febfe22b9cee3ae90d8335c7969c76c4a6fb.tar.xz |
(svn r8514) -Codechange: Turn IsBuoy into a method of stations
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 22dced73e..9ee47a19b 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -939,7 +939,7 @@ static void DrawSmallOrderList(const Vehicle *v, int x, int y) sel--; if (order->type == OT_GOTO_STATION) { - if (v->type == VEH_Ship && IsBuoy(GetStation(order->dest))) continue; + if (v->type == VEH_Ship && GetStation(order->dest)->IsBuoy()) continue; SetDParam(0, order->dest); DrawString(x, y, STR_A036, 0); |