summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-10 22:11:43 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-10 22:11:43 +0000
commit8f03106eccfbf42b72a86c2834aff994a7a58a2a (patch)
tree22701d6652d99abcc7ef3c6da8da52babd3a2f96 /src/map/map.c
parenta4bb0c3ad6d6ba04cfe3f142da460bcf836e069f (diff)
downloadhercules-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/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 1c2cd193e..d4f33ee3c 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -3111,7 +3111,7 @@ int cleanup_sub(struct block_list *bl, va_list ap)
map_clearflooritem(bl->id);
break;
case BL_SKILL:
- skill_delunit((struct skill_unit *) bl, 1);
+ skill_delunit((struct skill_unit *) bl);
break;
}