From 7af32f143eb8615163e1bc78a417434e18da0e71 Mon Sep 17 00:00:00 2001 From: oroborus Date: Fri, 20 Jun 2008 20:16:44 +0000 Subject: - oprava chyb s pamatov - vyhladavanie objetku podla jeho ID ma konecne casovu narocnost log(2,n) git-svn-id: http://opensvn.csie.org/tuxanci_ng@67 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- modules/modWall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/modWall.c') diff --git a/modules/modWall.c b/modules/modWall.c index 2bed2ef..056bb5c 100755 --- a/modules/modWall.c +++ b/modules/modWall.c @@ -322,10 +322,10 @@ void cmd(char *line) int destroy() { - destroySpace(spaceWall); + destroySpaceWithObject(spaceWall, destroyWall); #ifndef PUBLIC_SERVER destroySpace(spaceImgWall); #endif - destroyListItem(listWall, destroyWall); + destroyList(listWall); return 0; } -- cgit v1.2.3