summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-31 00:42:56 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-31 00:42:56 +0000
commit01125519eed1ab1d2293e96e859e6711365b3d12 (patch)
treea576886c0d27b08c6e6445bbe942b2d12e435fd7 /src/map/skill.c
parent55d99ca77ba52ce480be9e2ec6ff9c35ddd575ed (diff)
downloadhercules-01125519eed1ab1d2293e96e859e6711365b3d12.tar.gz
hercules-01125519eed1ab1d2293e96e859e6711365b3d12.tar.bz2
hercules-01125519eed1ab1d2293e96e859e6711365b3d12.tar.xz
hercules-01125519eed1ab1d2293e96e859e6711365b3d12.zip
- 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
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
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]);