From fadf9365dba24b680db5cb8750c53e264ff1ec27 Mon Sep 17 00:00:00 2001 From: oroborus Date: Tue, 17 Jun 2008 19:15:10 +0000 Subject: - drobne upravy v kode git-svn-id: http://opensvn.csie.org/tuxanci_ng@65 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- modules/modPipe.c | 2 +- modules/modTeleport.c | 2 +- modules/modWall.c | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/modPipe.c b/modules/modPipe.c index cb369b8..e5f628d 100755 --- a/modules/modPipe.c +++ b/modules/modPipe.c @@ -441,7 +441,7 @@ void cmd(char *line) int destroy() { - destroySpace(spacePipe, destroyPipe); + destroySpaceWithObject(spacePipe, destroyPipe); destroyList(listPipe); return 0; diff --git a/modules/modTeleport.c b/modules/modTeleport.c index 9cc5755..a6b4a1d 100755 --- a/modules/modTeleport.c +++ b/modules/modTeleport.c @@ -495,7 +495,7 @@ void cmd(char *line) int destroy() { - destroySpace(spaceTeleport, destroyTeleport); + destroySpaceWithObject(spaceTeleport, destroyTeleport); destroyList(listTeleport); return 0; } diff --git a/modules/modWall.c b/modules/modWall.c index 49140b4..5a83fbd 100755 --- a/modules/modWall.c +++ b/modules/modWall.c @@ -312,8 +312,9 @@ void cmd(char *line) int destroy() { - destroySpace(spaceWall, destroyWall); - destroyList(listWall); + destroySpace(spaceWall); + destroySpace(spaceImgWall); + destroyListItem(listWall, destroyWall); return 0; } -- cgit v1.2.3