Changeset - r1074:66b86261cc4c
[Not reviewed]
master
0 1 0
Celestar - 19 years ago 2005-01-20 10:31:59
celestar@openttd.org
(svn r1575) -Fix: Forgot to exit the construction phase for the waypoint window (if
you have newgrfs loaded)
1 file changed with 5 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rail_gui.c
Show inline comments
 
@@ -819,12 +819,11 @@ static void StationBuildWndProc(Window *
 
		}
 
		CheckRedrawStationCoverage(w);
 
		} break;
 
		
 

	
 
	case WE_DESTROY:
 
		ResetObjectToPlace();
 
		break;
 
	}
 

	
 
}
 

	
 
static const Widget _station_builder_widgets[] = {
 
@@ -978,6 +977,10 @@ static void BuildWaypointWndProc(Window 
 
		if (WP(w,def_d).close)
 
			DeleteWindow(w);
 
		return;
 

	
 
	case WE_DESTROY:
 
		ResetObjectToPlace();
 
		break;
 
	}
 
}
 

	
0 comments (0 inline, 0 general)