(svn r1575) -Fix: Forgot to exit the construction phase for the waypoint window (if
you have newgrfs loaded)
--- 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;
}
}