diff -r 0050610c0368 -r c291a21b304e src/screenshot.cpp --- a/src/screenshot.cpp Tue Sep 30 17:50:21 2008 +0000 +++ b/src/screenshot.cpp Tue Sep 30 20:39:50 2008 +0000 @@ -547,10 +547,10 @@ int serial; size_t len; - if (_game_mode == GM_EDITOR || _game_mode == GM_MENU || _local_player == PLAYER_SPECTATOR) { + if (_game_mode == GM_EDITOR || _game_mode == GM_MENU || _local_company == COMPANY_SPECTATOR) { ttd_strlcpy(_screenshot_name, "screenshot", lengthof(_screenshot_name)); } else { - SetDParam(0, _local_player); + SetDParam(0, _local_company); SetDParam(1, _date); GetString(_screenshot_name, STR_4004, lastof(_screenshot_name)); }