summaryrefslogtreecommitdiff
path: root/npc/functions/inventoryplace.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-05 12:47:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-05 12:47:25 +0300
commit6eeae2ee499b4aec7b9f771c75ff09264d79c8fd (patch)
treed024b7517c78adc0cfda5f4d4d17ac03ced5cb3a /npc/functions/inventoryplace.txt
parent58cf99bc280bb54f3c6ad6538ae3bc14fd54ec7f (diff)
downloadserverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.tar.gz
serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.tar.bz2
serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.tar.xz
serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.zip
Replace script function set to direct variable assignments.
Diffstat (limited to 'npc/functions/inventoryplace.txt')
-rw-r--r--npc/functions/inventoryplace.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/inventoryplace.txt b/npc/functions/inventoryplace.txt
index 58b60754..0d8fe397 100644
--- a/npc/functions/inventoryplace.txt
+++ b/npc/functions/inventoryplace.txt
@@ -12,8 +12,8 @@
function script inventoryplace {
getinventorylist;
- set .@iteminfo, getiteminfo(getarg(0), 2);
- set .@countitem, countitemcolor(getarg(0));
+ .@iteminfo = getiteminfo(getarg(0), 2);
+ .@countitem = countitemcolor(getarg(0));
if (checkweight(getarg(0), getarg(1)) == 0) goto L_Warn;
if ((.@iteminfo < 4) && (.@countitem == 0) && (.@inventorylist_count < 100)) return;