From 0904088718c138135052ab96eb9ccc59d50c7145 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Tue, 20 Dec 2011 04:39:04 +0000 Subject: [PATCH] Fixed Ankle Snare visibility issue, bugreport:3961 -- activating (stepping on) a invisible ankle snare now makes the trap visible again git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15174 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/map/skill.c b/src/map/skill.c index 540c68d4cd..97d9b9ab71 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;