summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-20 04:39:04 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-20 04:39:04 +0000
commit2d2835e5fa41dc96f5dd23e2d1723eafc5e46a1e (patch)
tree37d83c55317278439b46067afc1dbcf0585862ff /src/map
parentb1ff96548eb781e71bf417eb0a5693a956f48163 (diff)
downloadhercules-2d2835e5fa41dc96f5dd23e2d1723eafc5e46a1e.tar.gz
hercules-2d2835e5fa41dc96f5dd23e2d1723eafc5e46a1e.tar.bz2
hercules-2d2835e5fa41dc96f5dd23e2d1723eafc5e46a1e.tar.xz
hercules-2d2835e5fa41dc96f5dd23e2d1723eafc5e46a1e.zip
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
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c8
1 files changed, 8 insertions, 0 deletions
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;