summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas 'ZeXx86' Jedrzejek <zexx86@gmail.com>2009-12-11 18:30:50 +0100
committerTomas 'ZeXx86' Jedrzejek <zexx86@gmail.com>2009-12-11 18:30:50 +0100
commit140a27d1579a747f36141d90708fb275aac6a768 (patch)
tree358446cc5d0e6734456733ddd7299b6092d0e386
parentd89ddbbb001c144aaa56d9810702e415b0904fd7 (diff)
Dedicated server build fix
-rw-r--r--src/modules/modWall.c4
1 files 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;
}