summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-17 19:15:10 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-17 19:15:10 +0000
commitfadf9365dba24b680db5cb8750c53e264ff1ec27 (patch)
tree23ef9094c47b009ed5c81e6fb517cf88316bb92e /modules
parent652ce49bba44c885da4891bcae5fb650ef132a73 (diff)
- drobne upravy v kode
git-svn-id: http://opensvn.csie.org/tuxanci_ng@65 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/modPipe.c2
-rwxr-xr-xmodules/modTeleport.c2
-rwxr-xr-xmodules/modWall.c5
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;
}