diff options
Diffstat (limited to 'modules')
| -rwxr-xr-x | modules/modPipe.c | 2 | ||||
| -rwxr-xr-x | modules/modTeleport.c | 2 | ||||
| -rwxr-xr-x | modules/modWall.c | 5 |
3 files changed, 5 insertions, 4 deletions
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; } |