(svn r10015) -Fix: one could build (only) tram tracks when that was the last built roadtype (in a normal game).
authorrubidium
Fri, 01 Jun 2007 17:59:11 +0000
changeset 6779 2efcd25812d9
parent 6778 58189151ce4f
child 6780 ba49b125d95e
(svn r10015) -Fix: one could build (only) tram tracks when that was the last built roadtype (in a normal game).
src/road_gui.cpp
--- a/src/road_gui.cpp	Fri Jun 01 17:58:43 2007 +0000
+++ b/src/road_gui.cpp	Fri Jun 01 17:59:11 2007 +0000
@@ -454,6 +454,7 @@
 
 void ShowBuildRoadScenToolbar()
 {
+	_cur_roadtype = ROADTYPE_ROAD;
 	AllocateWindowDescFront(&_build_road_scen_desc, 0);
 }