diff options
author | Darkvater <Darkvater@openttd.org> | 2006-10-14 15:49:43 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-10-14 15:49:43 +0000 |
commit | a85d679f545ea7fec03db426ec033e5e83258a91 (patch) | |
tree | 4d65683dddf832ac860c3ff0f26f99db4e9ea997 /rail_gui.c | |
parent | 94339a884d1c7eaaecc8a5963cb985ca17d3e7df (diff) | |
download | openttd-a85d679f545ea7fec03db426ec033e5e83258a91.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 'rail_gui.c')
-rw-r--r-- | rail_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_gui.c b/rail_gui.c index 2f6136c01..2361ddeb7 100644 --- a/rail_gui.c +++ b/rail_gui.c @@ -589,7 +589,7 @@ void ShowBuildRailToolbar(RailType railtype, int button) { Window *w; - if (_current_player == OWNER_SPECTATOR) return; + if (_current_player == PLAYER_SPECTATOR) return; if (!ValParamRailtype(railtype)) return; // don't recreate the window if we're clicking on a button and the window exists. |