diff options
Diffstat (limited to 'terraform_gui.c')
-rw-r--r-- | terraform_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/terraform_gui.c b/terraform_gui.c index 1377a93a3..35549421f 100644 --- a/terraform_gui.c +++ b/terraform_gui.c @@ -274,6 +274,6 @@ static const WindowDesc _terraform_desc = { void ShowTerraformToolbar(void) { - if (_current_player == PLAYER_SPECTATOR) return; + if (!IsValidPlayer(_current_player)) return; AllocateWindowDescFront(&_terraform_desc, 0); } |