summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-29 21:08:29 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-29 21:08:29 +0000
commit876794dee5dd2be7e2062d7901a3c982ec37a951 (patch)
tree7228e5df973365c1f756c38918342bacbd84233e /src
parente824dae42cae340b5f0e5a680265f0871aa13ce8 (diff)
downloadhercules-876794dee5dd2be7e2062d7901a3c982ec37a951.tar.gz
hercules-876794dee5dd2be7e2062d7901a3c982ec37a951.tar.bz2
hercules-876794dee5dd2be7e2062d7901a3c982ec37a951.tar.xz
hercules-876794dee5dd2be7e2062d7901a3c982ec37a951.zip
- Changed the HT_DETECTING method from invoking clif_changetraplook to clif_skill_setunit since in the first the client ignores the fact that it is now a trap (rendering skills like Remove Trap useless).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6386 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 3ed3a90d2..ea673682d 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2416,7 +2416,9 @@ static int skill_reveal_trap( struct block_list *bl,va_list ap )
TBL_SKILL *su = (TBL_SKILL*)bl;
if (su->alive && su->group && skill_get_inf2(su->group->skill_id)&INF2_TRAP)
{ //Reveal trap.
- clif_changetraplook(bl, su->group->unit_id);
+ //Change look is not good enough, the client ignores it as an actual trap still. [Skotlex]
+ //clif_changetraplook(bl, su->group->unit_id);
+ clif_skill_setunit(su);
return 1;
}
return 0;