(svn r1575) -Fix: Forgot to exit the construction phase for the waypoint window (if
authorCelestar
Thu, 20 Jan 2005 10:31:59 +0000
changeset 1074 5f45c1b03f2f
parent 1073 0e844583b549
child 1075 ac99a44bd399
(svn r1575) -Fix: Forgot to exit the construction phase for the waypoint window (if
you have newgrfs loaded)
rail_gui.c
--- a/rail_gui.c	Thu Jan 20 09:12:20 2005 +0000
+++ b/rail_gui.c	Thu Jan 20 10:31:59 2005 +0000
@@ -819,12 +819,11 @@
 		}
 		CheckRedrawStationCoverage(w);
 		} break;
-		
+
 	case WE_DESTROY:
 		ResetObjectToPlace();
 		break;
 	}
-
 }
 
 static const Widget _station_builder_widgets[] = {
@@ -978,6 +977,10 @@
 		if (WP(w,def_d).close)
 			DeleteWindow(w);
 		return;
+
+	case WE_DESTROY:
+		ResetObjectToPlace();
+		break;
 	}
 }