summaryrefslogtreecommitdiff
path: root/genworld.c
diff options
context:
space:
mode:
Diffstat (limited to 'genworld.c')
-rw-r--r--genworld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/genworld.c b/genworld.c
index e95ef4ab7..ae29cddde 100644
--- a/genworld.c
+++ b/genworld.c
@@ -235,7 +235,7 @@ void GenerateWorld(int mode, uint size_x, uint size_y)
_gw.threaded = true;
/* This disables some commands and stuff */
- _local_player = OWNER_SPECTATOR;
+ _local_player = PLAYER_SPECTATOR;
/* Make sure everything is done via OWNER_NONE */
_current_player = OWNER_NONE;