From 79b707807f76af7510b364a4896ad12d08207407 Mon Sep 17 00:00:00 2001
From: brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Date: Sat, 13 Nov 2010 18:23:35 +0000
Subject: - Fixed a typo in abra_db.txt (bugreport:4548) - Fixed a weight check
 in Level 4 Weapon Quest. (bugreport:4533) - Removed a duplicate if() in
 battle.c, follow up to r14381. (bugreport:4549)

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14461 54d463be-8e91-2dee-dedb-b68131a5f0ec
---
 npc/quests/Lvl4_weapon_quest.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'npc')

diff --git a/npc/quests/Lvl4_weapon_quest.txt b/npc/quests/Lvl4_weapon_quest.txt
index dfcea8e08..2e26fe5b2 100644
--- a/npc/quests/Lvl4_weapon_quest.txt
+++ b/npc/quests/Lvl4_weapon_quest.txt
@@ -2139,7 +2139,8 @@ niflheim,240,193,3	script	Kayron#lv4	794,{
 }
 
 niflheim,99,268,5	script	Reyghema#lv4	794,{
-	if (now_weight < 3000) {
+	set .@now_weight,MaxWeight-Weight;
+	if (.@now_weight < 3000) {
 		mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
 		close;
 	}
-- 
cgit v1.2.3-70-g09d2