Changeset - r12938:e34cdaba54c1
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-09-07 08:04:40
rubidium@openttd.org
(svn r17441) -Fix (r16900): close the vehicle list of the vehicle type that visits the waypoint instead of for all vehicle types
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/waypoint_gui.cpp
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)