From 01125519eed1ab1d2293e96e859e6711365b3d12 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 31 Oct 2007 00:42:56 +0000 Subject: - Fixed the pc_additem weight check breaking when your current weight is above your max. - Some minor cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11621 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 157a7abda..f991275a6 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -8775,7 +8775,7 @@ int skill_check_condition(struct map_session_data* sd, short skill, short lv, in if((skill == AM_POTIONPITCHER || skill == CR_SLIMPITCHER || - skill == CR_CULTIVATION) && i != lv%11 - 1)//TODO huh? what is this for? [FlavioJS] + skill == CR_CULTIVATION) && i != lv%11 - 1)//TODO huh? what is this for? [FlavioJS] //These itemsdo not need a check versus ALL their item requirements, but only versus the item in the same slot position (eg: lv1 requires only item[0], lv5 requires only item[4]) [Skotlex] continue; index[i] = pc_search_inventory(sd,itemid[i]); -- cgit v1.2.3-60-g2f50