summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorglighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-30 04:13:46 +0000
committerglighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-30 04:13:46 +0000
commitde3e9a7aea38e374a91d9f036da043f14e58b9f3 (patch)
tree0db9e5ba7201a1fc332b8abe87d75d6c3069c7ee /src/map/battle.c
parenta97c2837c050d53bed4010f3399dcd5d0ad8b269 (diff)
downloadhercules-de3e9a7aea38e374a91d9f036da043f14e58b9f3.tar.gz
hercules-de3e9a7aea38e374a91d9f036da043f14e58b9f3.tar.bz2
hercules-de3e9a7aea38e374a91d9f036da043f14e58b9f3.tar.xz
hercules-de3e9a7aea38e374a91d9f036da043f14e58b9f3.zip
-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
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c5
1 files changed, 3 insertions, 2 deletions
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);