From 1be60fd3b0397217055115ef69f5c985690f7ff9 Mon Sep 17 00:00:00 2001 From: Christian Schlittchen Date: Sun, 10 Mar 2002 07:48:22 +0000 Subject: [PATCH] - astral_plane nicht initialisiert --- src/common/kernel/teleport.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/kernel/teleport.c b/src/common/kernel/teleport.c index b3ec57481..ccec7a93a 100644 --- a/src/common/kernel/teleport.c +++ b/src/common/kernel/teleport.c @@ -147,7 +147,9 @@ create_teleport_plane(void) region *r; int i; - if (!getplanebyid(1)) { + astral_plane = getplanebyid(1); + + if (!astral_plane) { astral_plane = create_new_plane(1, "Astralraum", TE_CENTER_X-500, TE_CENTER_X+500, TE_CENTER_Y-500, TE_CENTER_Y+500,