summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2013-01-17 22:23:33 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2013-01-17 22:23:33 +0800
commit2bf913eebcc0a18057c9012be187585a7afb2f72 (patch)
treec6331085709e12e4fe58a915b05ed648924b4759 /src/map/clif.c
parent541c5f69913da208356ef68f556d3cb888d01911 (diff)
parent32ea0d89b449710473aab78d83840d22fccfd5b4 (diff)
downloadhercules-2bf913eebcc0a18057c9012be187585a7afb2f72.tar.gz
hercules-2bf913eebcc0a18057c9012be187585a7afb2f72.tar.bz2
hercules-2bf913eebcc0a18057c9012be187585a7afb2f72.tar.xz
hercules-2bf913eebcc0a18057c9012be187585a7afb2f72.zip
Merge remote-tracking branch 'origin/rathena'
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);
}