summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorDracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-03 14:56:07 +0000
committerDracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-03 14:56:07 +0000
commit00fcc3fb3eb3fbe68ce72ba25b034a74f469290a (patch)
treecb6b17da5463c0de01f5e3f0e665d9dfe4f911f0 /src/map
parentcb1d2d92afbf8d9ebec4c9290a180835ad5dae78 (diff)
downloadhercules-00fcc3fb3eb3fbe68ce72ba25b034a74f469290a.tar.gz
hercules-00fcc3fb3eb3fbe68ce72ba25b034a74f469290a.tar.bz2
hercules-00fcc3fb3eb3fbe68ce72ba25b034a74f469290a.tar.xz
hercules-00fcc3fb3eb3fbe68ce72ba25b034a74f469290a.zip
Cooking fix
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8097 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-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 f9b229377..ec1c43983 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -10221,7 +10221,7 @@ int skill_can_produce_mix (struct map_session_data *sd, int nameid, int trigger,
if(skill_produce_db[i].itemlv!=trigger)
return 0;
} else if(trigger>10) { // Food (any item level between 10 and 20 will do)
- if(skill_produce_db[i].itemlv>10 && skill_produce_db[i].itemlv<=20)
+ if(skill_produce_db[i].itemlv<=10 || skill_produce_db[i].itemlv>20)
return 0;
} else { // Weapon (itemlv must be higher or equal)
if(skill_produce_db[i].itemlv>trigger)