From de3e9a7aea38e374a91d9f036da043f14e58b9f3 Mon Sep 17 00:00:00 2001 From: glighta Date: Fri, 30 Nov 2012 04:13:46 +0000 Subject: -Fix old warnings. 1st step to get ride of -wno flag in configure. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16987 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index 21649228b..27f67ee3b 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3472,7 +3472,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); @@ -3499,7 +3500,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); -- cgit v1.2.3-70-g09d2