summaryrefslogtreecommitdiff
path: root/terraform_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'terraform_gui.c')
-rw-r--r--terraform_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terraform_gui.c b/terraform_gui.c
index 36049dfde..a0a50f03d 100644
--- a/terraform_gui.c
+++ b/terraform_gui.c
@@ -274,6 +274,6 @@ static const WindowDesc _terraform_desc = {
void ShowTerraformToolbar(void)
{
- if (_current_player == OWNER_SPECTATOR) return;
+ if (_current_player == PLAYER_SPECTATOR) return;
AllocateWindowDescFront(&_terraform_desc, 0);
}