summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-01-03 16:06:58 +0000
committersmatz <smatz@openttd.org>2009-01-03 16:06:58 +0000
commit254e19da91309da11416c69ae7899dc11e608df0 (patch)
treecfe8a97df4f219709152bb304eee65541e9ab8db /src/vehicle_gui.cpp
parent21308de6cb2995912d67af4ae704a8870d90e156 (diff)
downloadopenttd-254e19da91309da11416c69ae7899dc11e608df0.tar.xz
(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index 6f5df3e62..a9133e611 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -1037,7 +1037,7 @@ struct VehicleListWindow : public BaseVehicleListWindow {
} break;
case VLW_WIDGET_AVAILABLE_VEHICLES:
- ShowBuildVehicleWindow(0, this->vehicle_type);
+ ShowBuildVehicleWindow(INVALID_TILE, this->vehicle_type);
break;
case VLW_WIDGET_MANAGE_VEHICLES_DROPDOWN: {