From 140a27d1579a747f36141d90708fb275aac6a768 Mon Sep 17 00:00:00 2001 From: Tomas 'ZeXx86' Jedrzejek Date: Fri, 11 Dec 2009 18:30:50 +0100 Subject: Dedicated server build fix --- src/modules/modWall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/modWall.c b/src/modules/modWall.c index fecd80b..ac8e715 100644 --- a/src/modules/modWall.c +++ b/src/modules/modWall.c @@ -351,12 +351,12 @@ static int destroy() space_destroy_with_item(spaceWall, destroyWall); #ifndef PUBLIC_SERVER space_destroy(spaceImgWall); + spaceImgWall = NULL; #endif list_destroy(listWall); listWall = NULL; - spaceWall = 0; - spaceImgWall = 0; + spaceWall = NULL; return 0; } -- cgit v1.2.3