diff src/group_gui.cpp @ 10550:98e8bc97ec6b draft

(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints
author smatz <smatz@openttd.org>
date Sat, 03 Jan 2009 16:06:58 +0000 (2009-01-03)
parents 45ca88a8de7d
children 14053cbe3be4
line wrap: on
line diff
--- a/src/group_gui.cpp
+++ b/src/group_gui.cpp
@@ -535,7 +535,7 @@
 
 
 			case GRP_WIDGET_AVAILABLE_VEHICLES:
-				ShowBuildVehicleWindow(0, this->vehicle_type);
+				ShowBuildVehicleWindow(INVALID_TILE, this->vehicle_type);
 				break;
 
 			case GRP_WIDGET_MANAGE_VEHICLES_DROPDOWN: