summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r--src/depot_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index f490e58de..5653c8b7a 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -503,7 +503,7 @@ struct DepotWindow : Window {
void DepotClick(int x, int y)
{
- GetDepotVehiclePtData gdvp;
+ GetDepotVehiclePtData gdvp = { NULL, NULL };
Vehicle *v = NULL;
DepotGUIAction mode = this->GetVehicleFromDepotWndPt(x, y, &v, &gdvp);