From 8f03106eccfbf42b72a86c2834aff994a7a58a2a Mon Sep 17 00:00:00 2001 From: ultramage Date: Wed, 10 Oct 2007 22:11:43 +0000 Subject: * 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 --- src/map/battle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/battle.c') 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); -- cgit v1.2.3-60-g2f50