summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-05 03:46:19 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-05 03:46:19 +0000
commit2cd926a568df59089d202fd4bbf80a4100a8f891 (patch)
tree381ef2a667d6efba1217472fc52215c29a5f1f93 /src/map/battle.c
parentb26ca6871acc0ef2062668cfc9a0fcf7016e3ac1 (diff)
downloadhercules-2cd926a568df59089d202fd4bbf80a4100a8f891.tar.gz
hercules-2cd926a568df59089d202fd4bbf80a4100a8f891.tar.bz2
hercules-2cd926a568df59089d202fd4bbf80a4100a8f891.tar.xz
hercules-2cd926a568df59089d202fd4bbf80a4100a8f891.zip
More updates
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@447 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 6b1d68625..b6ef4146d 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -4964,7 +4964,7 @@ int battle_check_range(struct block_list *src,struct block_list *bl,int range)
// be lenient if the skill was cast before we have moved to the correct position [Celest]
if (src->type != BL_PC)
return 0;
- else if (src->type == BL_PC) {
+ else if (bl->type == BL_PC) {
struct map_session_data *sd;
nullpo_retr(0, (sd=(struct map_session_data *)bl));
if (sd->walktimer != -1 && !((arange-=battle_config.skill_range_leniency)<=range))