From 1c5fb487d469df9ac424e132703cc87414f83cdf Mon Sep 17 00:00:00 2001 From: Reid Date: Sat, 1 Dec 2012 15:30:50 +0100 Subject: Remove useless "" on inventoryplace function. --- npc/functions/inventoryplace.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/functions/inventoryplace.txt') diff --git a/npc/functions/inventoryplace.txt b/npc/functions/inventoryplace.txt index a084f2e9..4b3990b7 100644 --- a/npc/functions/inventoryplace.txt +++ b/npc/functions/inventoryplace.txt @@ -15,7 +15,7 @@ function script InventoryPlace { set @iteminfo, getiteminfo(@item,2); set @countitem, countitem(@item); - if (checkweight("@item", "@count") == 0) goto l_Warn; + if (checkweight(@item, @count) == 0) goto l_Warn; if ((@iteminfo < 4) && (@countitem == 0) && (@inventorylist_count < 100)) return; if ((@iteminfo < 4) && (@countitem > 0)) return; if (@inventorylist_count + @count <= 100) return; -- cgit v1.2.3-70-g09d2