summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-01 17:59:11 +0000
committerrubidium <rubidium@openttd.org>2007-06-01 17:59:11 +0000
commit4a1b33a01fd1c10af29d2af9c96a5a26199476f6 (patch)
tree38fd7ef4638c75a6525e21c9501f7f631e69be70
parent5abeb5be65eaa612baf99a80b18a8276ea8683ca (diff)
downloadopenttd-4a1b33a01fd1c10af29d2af9c96a5a26199476f6.tar.xz
(svn r10015) -Fix: one could build (only) tram tracks when that was the last built roadtype (in a normal game).
-rw-r--r--src/road_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp
index ed15fe0b9..66e566ad1 100644
--- a/src/road_gui.cpp
+++ b/src/road_gui.cpp
@@ -454,6 +454,7 @@ static const WindowDesc _build_road_scen_desc = {
void ShowBuildRoadScenToolbar()
{
+ _cur_roadtype = ROADTYPE_ROAD;
AllocateWindowDescFront(&_build_road_scen_desc, 0);
}