From 4bf5fc03a70033962b6f0703780898c97eadf6ec Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Sat, 24 Jan 2009 17:38:17 +0000 Subject: * 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 --- src/map/status.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index e8da71bcc..fcfc0fb7f 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -692,7 +692,7 @@ int status_damage(struct block_list *src,struct block_list *target,int hp, int s } if ((sce=sc->data[SC_GRAVITATION]) && sce->val3 == BCT_SELF) { - struct skill_unit_group *sg = (struct skill_unit_group *)sce->val4; + struct skill_unit_group* sg = skill_id2group(sce->val4); if (sg) { skill_delunitgroup(target,sg); sce->val4 = 0; @@ -6602,7 +6602,7 @@ int status_change_end(struct block_list* bl, enum sc_type type, int tid) struct skill_unit_group *group; if(sce->val2) { - group = (struct skill_unit_group *)sce->val2; + group = skill_id2group(sce->val2); sce->val2 = 0; skill_delunitgroup(bl, group); } @@ -6691,7 +6691,7 @@ int status_change_end(struct block_list* bl, enum sc_type type, int tid) break; case SC_GOSPEL: if (sce->val3) { //Clear the group. - struct skill_unit_group *group = (struct skill_unit_group *)sce->val3; + struct skill_unit_group* group = skill_id2group(sce->val3); sce->val3 = 0; skill_delunitgroup(bl, group); } @@ -6708,7 +6708,7 @@ int status_change_end(struct block_list* bl, enum sc_type type, int tid) break; case SC_WARM: if (sce->val4) { //Clear the group. - struct skill_unit_group *group = (struct skill_unit_group *)sce->val4; + struct skill_unit_group* group = skill_id2group(sce->val4); sce->val4 = 0; skill_delunitgroup(bl, group); } -- cgit v1.2.3-70-g09d2