diff options
Diffstat (limited to 'road_gui.c')
-rw-r--r-- | road_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/road_gui.c b/road_gui.c index ce2546ba5..6fe582bce 100644 --- a/road_gui.c +++ b/road_gui.c @@ -318,7 +318,7 @@ static const WindowDesc _build_road_desc = { void ShowBuildRoadToolbar(void) { - if (_current_player == OWNER_SPECTATOR) return; + if (_current_player == PLAYER_SPECTATOR) return; DeleteWindowById(WC_BUILD_TOOLBAR, 0); AllocateWindowDesc(&_build_road_desc); if (_patches.link_terraform_toolbar) ShowTerraformToolbar(); |