src/depot_gui.cpp
changeset 9213 67e8293d4f9a
parent 9203 082fbf0500c4
child 9225 1158928d629a
--- a/src/depot_gui.cpp	Tue May 13 21:50:31 2008 +0000
+++ b/src/depot_gui.cpp	Tue May 13 22:02:14 2008 +0000
@@ -503,7 +503,7 @@
 
 	void DepotClick(int x, int y)
 	{
-		GetDepotVehiclePtData gdvp;
+		GetDepotVehiclePtData gdvp = { NULL, NULL };
 		Vehicle *v = NULL;
 		DepotGUIAction mode = this->GetVehicleFromDepotWndPt(x, y, &v, &gdvp);