summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-08-22 17:55:21 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-08-22 17:55:21 +0000
commit998cec9bb9c360e226fd004bdae3cfca6a6b100b (patch)
treeb12324d3f25d38b8c7d6459cb6a756ea23831fbe /src/map/skill.c
parent1013fd3227f78a0b02c121a36a6f66fdcbd75203 (diff)
downloadhercules-998cec9bb9c360e226fd004bdae3cfca6a6b100b.tar.gz
hercules-998cec9bb9c360e226fd004bdae3cfca6a6b100b.tar.bz2
hercules-998cec9bb9c360e226fd004bdae3cfca6a6b100b.tar.xz
hercules-998cec9bb9c360e226fd004bdae3cfca6a6b100b.zip
Fixed Teleport through Hocus-Pocus skips menu. (bugreport:3513)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14020 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 1ed612dee..f3d80ba0b 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4408,7 +4408,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break;
}
- if( sd->state.autocast || sd->skillitem == AL_TELEPORT || (battle_config.skip_teleport_lv1_menu && skilllv == 1) || skilllv > 2 )
+ if( sd->state.autocast || ( (sd->skillitem == AL_TELEPORT || battle_config.skip_teleport_lv1_menu) && skilllv == 1 ) || skilllv == 3 )
{
if( skilllv == 1 )
pc_randomwarp(sd,3);