summaryrefslogtreecommitdiff
path: root/src/road_gui.cpp
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
commitecd36dd34f5cf66a3bfc1c221796bb2e32a4ce73 (patch)
tree38fd7ef4638c75a6525e21c9501f7f631e69be70 /src/road_gui.cpp
parent31ddab50ada1fb266698b3b7b4d889acb403ac35 (diff)
downloadopenttd-ecd36dd34f5cf66a3bfc1c221796bb2e32a4ce73.tar.xz
(svn r10015) -Fix: one could build (only) tram tracks when that was the last built roadtype (in a normal game).
Diffstat (limited to 'src/road_gui.cpp')
-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);
}