From 056248cd0eb6614ffdc436be47a54e0aa2f9a559 Mon Sep 17 00:00:00 2001 From: ultramage Date: Wed, 28 Nov 2007 11:43:20 +0000 Subject: Fixed reflected spells bypassing WoE no-knockback restriction, because the code allowed that when cast on self; not anymore (bugreport:231) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11835 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/skill.c b/src/map/skill.c index efb9c6ee9..f31c5941e 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -1223,7 +1223,7 @@ int skill_blown(struct block_list* src, struct block_list* target, int count, in nullpo_retr(0, src); - if (src != target && map_flag_gvg(target->m)) + if (map_flag_gvg(target->m)) return 0; //No knocking back in WoE if (count == 0) return 0; //Actual knockback distance is 0. -- cgit v1.2.3-70-g09d2