diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-10 22:11:43 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-10 22:11:43 +0000 |
commit | 8f03106eccfbf42b72a86c2834aff994a7a58a2a (patch) | |
tree | 22701d6652d99abcc7ef3c6da8da52babd3a2f96 /src/map/battle.c | |
parent | a4bb0c3ad6d6ba04cfe3f142da460bcf836e069f (diff) | |
download | hercules-8f03106eccfbf42b72a86c2834aff994a7a58a2a.tar.gz hercules-8f03106eccfbf42b72a86c2834aff994a7a58a2a.tar.bz2 hercules-8f03106eccfbf42b72a86c2834aff994a7a58a2a.tar.xz hercules-8f03106eccfbf42b72a86c2834aff994a7a58a2a.zip |
* Partially removed the usage of 'flags' to direct the execution path in skill unit code (some people seem to really like flags >_>)
- wiped out r8478 and its multiple levels of useless flag propagation
- skill_unit_onlimit (expiration) no longer executes in skill_delunit
- added skill_unit_ondelete for proper handling of this event
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11399 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 4d71f951c..7c22b3532 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -296,7 +296,7 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,int damage,i struct skill_unit_group *group = (struct skill_unit_group *)sc->data[SC_SAFETYWALL].val3; if (group) { if (--group->val2<=0) - skill_delunitgroup(NULL,group,0); + skill_delunitgroup(NULL,group); return 0; } status_change_end(bl,SC_SAFETYWALL,-1); |