summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-01-24 17:38:17 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-01-24 17:38:17 +0000
commit4bf5fc03a70033962b6f0703780898c97eadf6ec (patch)
tree859d87f92c5a63e325abaf8d161910d65e803726 /src/map/battle.c
parentbbc69c87b96710a51b19b94aee1cedbb0f555336 (diff)
downloadhercules-4bf5fc03a70033962b6f0703780898c97eadf6ec.tar.gz
hercules-4bf5fc03a70033962b6f0703780898c97eadf6ec.tar.bz2
hercules-4bf5fc03a70033962b6f0703780898c97eadf6ec.tar.xz
hercules-4bf5fc03a70033962b6f0703780898c97eadf6ec.zip
* Changed all uses of struct skill_unit_group* to group_id in status_change_entry's. (last known 64bit portability issue)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13482 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 4450c3258..01f4c9b67 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -311,7 +311,7 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,int damage,i
if( sc->data[SC_SAFETYWALL] && (flag&(BF_SHORT|BF_MAGIC))==BF_SHORT )
{
- struct skill_unit_group *group = (struct skill_unit_group *)sc->data[SC_SAFETYWALL]->val3;
+ struct skill_unit_group* group = skill_id2group(sc->data[SC_SAFETYWALL]->val3);
if (group) {
if (--group->val2<=0)
skill_delunitgroup(NULL,group);