summaryrefslogtreecommitdiff
path: root/dock_gui.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-10-14 15:49:43 +0000
committerDarkvater <darkvater@openttd.org>2006-10-14 15:49:43 +0000
commitdad5d5dd72a32b3dbaea68c71e996f053fa557e7 (patch)
tree4d65683dddf832ac860c3ff0f26f99db4e9ea997 /dock_gui.c
parentabb0fa7bc53d755463d6cb314ac6044b5dcb22af (diff)
downloadopenttd-dad5d5dd72a32b3dbaea68c71e996f053fa557e7.tar.xz
(svn r6774) -Codechange: Rename the badly named OWNER_SPECTATOR to PLAYER_SPECTATOR and
put it into player.h where it belongs (instead of map.h)
Diffstat (limited to 'dock_gui.c')
-rw-r--r--dock_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dock_gui.c b/dock_gui.c
index 6c8288955..60325bfce 100644
--- a/dock_gui.c
+++ b/dock_gui.c
@@ -214,7 +214,7 @@ static const WindowDesc _build_docks_toolbar_desc = {
void ShowBuildDocksToolbar(void)
{
- if (_current_player == OWNER_SPECTATOR) return;
+ if (_current_player == PLAYER_SPECTATOR) return;
DeleteWindowById(WC_BUILD_TOOLBAR, 0);
AllocateWindowDesc(&_build_docks_toolbar_desc);
if (_patches.link_terraform_toolbar) ShowTerraformToolbar();