diff options
author | shennetsind <ind@henn.et> | 2013-01-20 14:59:11 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-01-20 14:59:11 -0200 |
commit | e6ac0ecf225d839ed67335f6dc7c15cd0d296df0 (patch) | |
tree | 4ad5b3c6688798c343991e391dd27b4424bfe605 /src/map/clif.c | |
parent | 2bf913eebcc0a18057c9012be187585a7afb2f72 (diff) | |
download | hercules-e6ac0ecf225d839ed67335f6dc7c15cd0d296df0.tar.gz hercules-e6ac0ecf225d839ed67335f6dc7c15cd0d296df0.tar.bz2 hercules-e6ac0ecf225d839ed67335f6dc7c15cd0d296df0.tar.xz hercules-e6ac0ecf225d839ed67335f6dc7c15cd0d296df0.zip |
Fixed 3 logical errors (1 that would cause CH_PALMSTRIKE to crash the server when either caster or target were out of sc data)
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 31c3cc53c..961e3bf0c 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -5255,7 +5255,7 @@ void clif_skill_produce_mix_list(struct map_session_data *sd, int skill_id , int for(i=0,c=0;i<MAX_SKILL_PRODUCE_DB;i++){ if( skill_can_produce_mix(sd,skill_produce_db[i].nameid, trigger, 1) && - ( skill_id > 0 && skill_produce_db[i].req_skill == skill_id || skill_id < 0 ) + ( ( skill_id > 0 && skill_produce_db[i].req_skill == skill_id ) || skill_id < 0 ) ){ if((view = itemdb_viewid(skill_produce_db[i].nameid)) > 0) WFIFOW(fd,c*8+ 4)= view; |