summaryrefslogtreecommitdiff
path: root/src/map/status.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/status.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/status.c')
-rw-r--r--src/map/status.c8
1 files changed, 4 insertions, 4 deletions
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);
}