mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-02 09:40:35 +00:00
(svn r17441) -Fix (r16900): close the vehicle list of the vehicle type that visits the waypoint instead of for all vehicle types
This commit is contained in:
parent
7a1ffc6501
commit
66b2bf3218
@ -67,7 +67,7 @@ public:
|
||||
|
||||
~WaypointWindow()
|
||||
{
|
||||
DeleteWindowById(WC_TRAINS_LIST, (this->window_number << 16) | (this->vt << 11) | VLW_WAYPOINT_LIST | this->wp->owner);
|
||||
DeleteWindowById(GetWindowClassForVehicleType(this->vt), (this->window_number << 16) | (this->vt << 11) | VLW_WAYPOINT_LIST | this->wp->owner);
|
||||
}
|
||||
|
||||
virtual void SetStringParameters(int widget) const
|
||||
|
Loading…
Reference in New Issue
Block a user