summaryrefslogtreecommitdiff
path: root/npc/re/merchants/coin_exchange.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/re/merchants/coin_exchange.txt')
-rw-r--r--npc/re/merchants/coin_exchange.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/re/merchants/coin_exchange.txt b/npc/re/merchants/coin_exchange.txt
index be9f1dbee..f35c722f7 100644
--- a/npc/re/merchants/coin_exchange.txt
+++ b/npc/re/merchants/coin_exchange.txt
@@ -569,7 +569,7 @@ function script F_mal_coin {
mes "I'm sorry, you need more "+.@str$+".";
close;
}
- if (MaxWeight - Weight < getiteminfo(getarg(3),6)) {
+ if (MaxWeight - Weight < getiteminfo(getarg(3), ITEMINFO_WEIGHT)) {
mes getarg(1);
mes "Sorry, you've purchased too many.";
mes "You need to make more space in your inventory. Please come back later.";