diff options
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index 77a1acdb1..258ee09f6 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -19,6 +19,7 @@ #include "viewport.h" #include "gfx.h" #include "player.h" +#include "road.h" #include "command.h" #include "news.h" #include "town.h" @@ -930,7 +931,7 @@ static void ToolbarBuildRoadClick(Window *w) { const Player *p = GetPlayer(_local_player); /* The standard road button is *always* available */ - Window *w2 = PopupMainToolbMenu(w, 20, STR_180A_ROAD_CONSTRUCTION, 2, ~(p->avail_roadtypes | 1)); + Window *w2 = PopupMainToolbMenu(w, 20, STR_180A_ROAD_CONSTRUCTION, 2, ~(p->avail_roadtypes | ROADTYPES_ROAD)); WP(w2, menu_d).sel_index = _last_built_roadtype; } |