author | smatz |
Wed, 14 May 2008 18:35:15 +0000 | |
changeset 10547 | fe1e87e92e20 |
parent 10546 | 07ab34af246e |
child 10548 | c57b2fcc4f26 |
src/depot_gui.cpp | file | annotate | diff | comparison | revisions |
--- a/src/depot_gui.cpp Wed May 14 18:31:21 2008 +0000 +++ b/src/depot_gui.cpp Wed May 14 18:35:15 2008 +0000 @@ -889,7 +889,7 @@ this->SetDirty(); if (this->type == VEH_TRAIN) { - GetDepotVehiclePtData gdvp; + GetDepotVehiclePtData gdvp = { NULL, NULL }; if (this->GetVehicleFromDepotWndPt(pt.x, pt.y, &v, &gdvp) == MODE_DRAG_VEHICLE && sel != INVALID_VEHICLE) {