summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorglighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-05 14:24:00 +0000
committerglighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-05 14:24:00 +0000
commit4463d3c44108b98735aaccd21b821647da6e23cc (patch)
treedee39577a614c4faf761138b458d30f04cf26e2c /src/map/battle.c
parent819a81b5fd39095b417fa7b4873555e8f6304be1 (diff)
downloadhercules-4463d3c44108b98735aaccd21b821647da6e23cc.tar.gz
hercules-4463d3c44108b98735aaccd21b821647da6e23cc.tar.bz2
hercules-4463d3c44108b98735aaccd21b821647da6e23cc.tar.xz
hercules-4463d3c44108b98735aaccd21b821647da6e23cc.zip
- Re-committed r16987 (pid:161281).
-Re-commiting part is now ended git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17003 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 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);