summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-16 14:45:42 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-16 14:45:42 +0000
commit32ea0d89b449710473aab78d83840d22fccfd5b4 (patch)
tree39862506e041505aa576b33aebd71f5e8b077a53 /src/map/clif.c
parent2905b80803313112e951e2d1e32f2c2e1252c170 (diff)
downloadhercules-32ea0d89b449710473aab78d83840d22fccfd5b4.tar.gz
hercules-32ea0d89b449710473aab78d83840d22fccfd5b4.tar.bz2
hercules-32ea0d89b449710473aab78d83840d22fccfd5b4.tar.xz
hercules-32ea0d89b449710473aab78d83840d22fccfd5b4.zip
Fixed bugreport:7182 where GN_MIX_COOKING is limited in creating 1 food item.
Fixed bugreport:7172 missing elemental resistance bonus of NC_RESEARCHFE. Recoded RA_FEARBREEZE.(bugreport:7188). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17101 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index a47a98891..31c3cc53c 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11057,7 +11057,7 @@ void clif_parse_Cooking(int fd,struct map_session_data *sd) {
return;
}
if( skill_can_produce_mix(sd,nameid,sd->menuskill_val, amount) )
- skill_produce_mix(sd,0,nameid,0,0,0,amount);
+ skill_produce_mix(sd,(type>1?sd->menuskill_id:0),nameid,0,0,0,amount);
clif_menuskill_clear(sd);
}