screenshot.c
changeset 4848 56549aa3e234
parent 4522 3f90e8cf2435
child 4912 d04b3f2bca70
--- a/screenshot.c	Sat Oct 14 15:44:28 2006 +0000
+++ b/screenshot.c	Sat Oct 14 15:49:43 2006 +0000
@@ -497,7 +497,7 @@
 	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);