From 2d2835e5fa41dc96f5dd23e2d1723eafc5e46a1e Mon Sep 17 00:00:00 2001 From: shennetsind Date: Tue, 20 Dec 2011 04:39:04 +0000 Subject: Fixed Ankle Snare visibility issue, bugreport:3961 -- activating (stepping on) a invisible ankle snare now makes the trap visible again git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15174 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/map') diff --git a/src/map/skill.c b/src/map/skill.c index 540c68d4c..97d9b9ab7 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -9141,6 +9141,14 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns else sec = 3000; //Couldn't trap it? clif_skillunit_update(&src->bl); + + /** + * If you're snared from a trap that was invisible this makes the trap be + * visible again -- being you stepped on it (w/o this the trap remains invisible and you go "WTF WHY I CANT MOVE") + * bugreport:3961 + **/ + clif_changetraplook(&src->bl, UNT_ANKLESNARE); + sg->limit = DIFF_TICK(tick,sg->tick)+sec; sg->interval = -1; src->range = 0; -- cgit v1.2.3-70-g09d2