From dad5d5dd72a32b3dbaea68c71e996f053fa557e7 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 14 Oct 2006 15:49:43 +0000 Subject: (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) --- screenshot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'screenshot.c') 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); -- cgit v1.2.3-54-g00ecf