summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/waypoint_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp
index 586ada925..202f7c7f6 100644
--- a/src/waypoint_gui.cpp
+++ b/src/waypoint_gui.cpp
@@ -107,7 +107,7 @@ public:
break;
case WID_W_SHOW_VEHICLES: // show list of vehicles having this waypoint in their orders
- ShowVehicleListWindow(this->owner, this->vt, this->wp->index);
+ ShowVehicleListWindow(this->wp->owner, this->vt, this->wp->index);
break;
}
}