forked from mirror/OpenTTD
(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)
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user