diff options
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index ed832106f..9dd31d02b 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3505,7 +3505,8 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list short s_ele = 0; unsigned int skillratio = 100; //Skill dmg modifiers. - struct map_session_data *sd, *tsd; + TBL_PC *sd; +// TBL_PC *tsd; struct Damage ad; struct status_data *sstatus = status_get_status_data(src); struct status_data *tstatus = status_get_status_data(target); @@ -3533,7 +3534,7 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list flag.imdef = nk&NK_IGNORE_DEF?1:0; sd = BL_CAST(BL_PC, src); - tsd = BL_CAST(BL_PC, target); +// tsd = BL_CAST(BL_PC, target); if( skill_num == SO_PSYCHIC_WAVE ) { struct status_change *sc = status_get_sc(src); |