summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-05 06:13:50 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-05 06:13:50 +0000
commit9ee58cbba214b49a0399f564478e22790080fa72 (patch)
treea984341ad04658c70030bd0a0d752c289f8322f3 /src
parent1e6f493eab41de9a948314c3e1ba4f2e9d9df4d2 (diff)
downloadhercules-9ee58cbba214b49a0399f564478e22790080fa72.tar.gz
hercules-9ee58cbba214b49a0399f564478e22790080fa72.tar.bz2
hercules-9ee58cbba214b49a0399f564478e22790080fa72.tar.xz
hercules-9ee58cbba214b49a0399f564478e22790080fa72.zip
Corrected typo in battle_range : bl -> src
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@453 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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 b6ef4146d..6b1d68625 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 (bl->type == BL_PC) {
+ else if (src->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))