From ca324c005d511752b2bcdc21fdc7d6c46597469b Mon Sep 17 00:00:00 2001 From: oroborus Date: Tue, 25 Mar 2008 21:23:08 +0000 Subject: - drobne upravy v kode - vymazanie duplivitneho kodu pri "hre s GUI" a "public serverom" git-svn-id: http://opensvn.csie.org/tuxanci_ng@36 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/item.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/item.c') diff --git a/src/item.c b/src/item.c index 4717671..77f2ffd 100644 --- a/src/item.c +++ b/src/item.c @@ -162,8 +162,8 @@ void addNewItem(list_t *listItem, tux_t *author) } #endif - arena = getWorldArena(); - findFreeSpace(&new_x, &new_y, ITEM_GUN_WIDTH, ITEM_GUN_HEIGHT); + arena = getCurrentArena(); + findFreeSpace(getCurrentArena(), &new_x, &new_y, ITEM_GUN_WIDTH, ITEM_GUN_HEIGHT); type = GUN_DUAL_SIMPLE; -- cgit v1.2.3