summaryrefslogtreecommitdiff
path: root/screenshot.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-08-10 14:14:00 +0000
committerdarkvater <darkvater@openttd.org>2004-08-10 14:14:00 +0000
commit804f038594ccd7d12b776299038f9bc5809f90e5 (patch)
tree55ef141185c7dd684c505675aec96c660a9bae71 /screenshot.c
parentefaeb275f78e18d594d9ee8ff04eccd2dc59512c (diff)
downloadopenttd-804f038594ccd7d12b776299038f9bc5809f90e5.tar.xz
(svn r2) -Fix [993829] UDP Fixes (lucaspiller)
-Fix change 255/0xFF to OWNER_SPECTATOR for spectator stuff (TrueLight)
Diffstat (limited to 'screenshot.c')
-rw-r--r--screenshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screenshot.c b/screenshot.c
index 4bf61d66a..a7b8bf655 100644
--- a/screenshot.c
+++ b/screenshot.c
@@ -422,7 +422,7 @@ static char *MakeScreenshotName(const char *ext)
char *base;
int serial;
- if (_game_mode == GM_EDITOR || _local_player == 0xff) {
+ if (_game_mode == GM_EDITOR || _local_player == OWNER_SPECTATOR) {
sprintf(_screenshot_name, "screenshot");
} else {
Player *p = &_players[_local_player];