summaryrefslogtreecommitdiff
path: root/airport_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'airport_gui.c')
-rw-r--r--airport_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/airport_gui.c b/airport_gui.c
index 9b2c01763..22094abd0 100644
--- a/airport_gui.c
+++ b/airport_gui.c
@@ -133,7 +133,7 @@ static const WindowDesc _air_toolbar_desc = {
void ShowBuildAirToolbar(void)
{
- if (_current_player == OWNER_SPECTATOR) return;
+ if (_current_player == PLAYER_SPECTATOR) return;
DeleteWindowById(WC_BUILD_TOOLBAR, 0);
AllocateWindowDescFront(&_air_toolbar_desc, 0);
if (_patches.link_terraform_toolbar) ShowTerraformToolbar();