summaryrefslogtreecommitdiff
path: root/npc/functions/inventoryplace.txt
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2012-12-01 15:30:50 +0100
committerReid <reidyaro@gmail.com>2012-12-01 15:30:50 +0100
commit1c5fb487d469df9ac424e132703cc87414f83cdf (patch)
tree42b1f7877d77947373a78f06a14c03071d4b1103 /npc/functions/inventoryplace.txt
parent6d630b86fb25fca4693a91d915b34eecb729acc5 (diff)
downloadserverdata-1c5fb487d469df9ac424e132703cc87414f83cdf.tar.gz
serverdata-1c5fb487d469df9ac424e132703cc87414f83cdf.tar.bz2
serverdata-1c5fb487d469df9ac424e132703cc87414f83cdf.tar.xz
serverdata-1c5fb487d469df9ac424e132703cc87414f83cdf.zip
Remove useless "" on inventoryplace function.
Diffstat (limited to 'npc/functions/inventoryplace.txt')
-rw-r--r--npc/functions/inventoryplace.txt2
1 files changed, 1 insertions, 1 deletions
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;