command.c
changeset 4848 45f848b46222
parent 4712 4335ad42e163
child 4850 93095755db8c
--- a/command.c	Sat Oct 14 15:44:28 2006 +0000
+++ b/command.c	Sat Oct 14 15:49:43 2006 +0000
@@ -426,7 +426,7 @@
 
 	/** Spectator has no rights except for the dedicated server which
 	 * is a spectator but is the server, so can do anything */
-	if (_current_player == OWNER_SPECTATOR && !_network_dedicated) {
+	if (_current_player == PLAYER_SPECTATOR && !_network_dedicated) {
 		ShowErrorMessage(_error_message, error_part1, x, y);
 		_cmd_text = NULL;
 		return false;
@@ -500,7 +500,7 @@
 	if (_networking && !(cmd & CMD_NETWORK_COMMAND)) {
 		if (_network_dedicated) _local_player = 0;
 		NetworkSend_Command(tile, p1, p2, cmd, callback);
-		if (_network_dedicated) _local_player = OWNER_SPECTATOR;
+		if (_network_dedicated) _local_player = PLAYER_SPECTATOR;
 		_docommand_recursive = 0;
 		_cmd_text = NULL;
 		return true;