summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-21 04:44:17 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-21 04:44:17 +0000
commit6ebcbc97b368716d194c01373be5b6638d33d589 (patch)
treec2b5f9804399ddc25866f435d6f45a1f2f729e04 /src/map/clif.c
parent6d64f843a7dab2c0d960c5af4ecaa46c5d81b182 (diff)
downloadhercules-6ebcbc97b368716d194c01373be5b6638d33d589.tar.gz
hercules-6ebcbc97b368716d194c01373be5b6638d33d589.tar.bz2
hercules-6ebcbc97b368716d194c01373be5b6638d33d589.tar.xz
hercules-6ebcbc97b368716d194c01373be5b6638d33d589.zip
Fixed soul drain visual effect not being displayed to mobs, bugreport:2980
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15193 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index b8feb6746..3c1851309 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -738,17 +738,17 @@ int clif_clearunit_area(struct block_list* bl, clr_type type)
static int clif_clearunit_delayed_sub(int tid, unsigned int tick, int id, intptr_t data)
{
struct block_list *bl = (struct block_list *)data;
- clif_clearunit_area(bl, CLR_OUTSIGHT);
+ clif_clearunit_area(bl, (clr_type) id);
aFree(bl);
return 0;
}
-int clif_clearunit_delayed(struct block_list* bl, unsigned int tick)
+int clif_clearunit_delayed(struct block_list* bl, clr_type type, unsigned int tick)
{
struct block_list *tbl;
tbl = (struct block_list*)aMalloc(sizeof (struct block_list));
memcpy (tbl, bl, sizeof (struct block_list));
- add_timer(tick, clif_clearunit_delayed_sub, 0, (intptr_t)tbl);
+ add_timer(tick, clif_clearunit_delayed_sub, (int)type, (intptr_t)tbl);
return 0;
}