(svn r2) -Fix [993829] UDP Fixes (lucaspiller)

-Fix change 255/0xFF to OWNER_SPECTATOR for 
spectator stuff (TrueLight)
This commit is contained in:
darkvater
2004-08-10 14:14:00 +00:00
parent efaeb275f7
commit 804f038594
9 changed files with 41 additions and 24 deletions

View File

@@ -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];