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 | dad5d5dd72a32b3dbaea68c71e996f053fa557e7 (patch) | |
tree | 4d65683dddf832ac860c3ff0f26f99db4e9ea997 /screenshot.c | |
parent | abb0fa7bc53d755463d6cb314ac6044b5dcb22af (diff) | |
download | openttd-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 'screenshot.c')
-rw-r--r-- | screenshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/screenshot.c b/screenshot.c index 3c134cdcc..8d5bc718d 100644 --- a/screenshot.c +++ b/screenshot.c @@ -497,7 +497,7 @@ static char *MakeScreenshotName(const char *ext) char *base; int serial; - if (_game_mode == GM_EDITOR || _game_mode == GM_MENU || _local_player == OWNER_SPECTATOR) { + if (_game_mode == GM_EDITOR || _game_mode == GM_MENU || _local_player == PLAYER_SPECTATOR) { sprintf(_screenshot_name, "screenshot"); } else { const Player* p = GetPlayer(_local_player); |