From 9ee58cbba214b49a0399f564478e22790080fa72 Mon Sep 17 00:00:00 2001 From: celest Date: Sun, 5 Dec 2004 06:13:50 +0000 Subject: 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 --- Changelog.txt | 3 +++ src/map/battle.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Changelog.txt b/Changelog.txt index 2d72fc81b..18ae6d6ae 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,4 +1,7 @@ Date Added +12/5 + * Corrected typo in battle_range [celest] + 12/4 * Fixed a crash in clif_send when player disconnects but player object is not fully removed from map [MouseJstr] 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)) -- cgit v1.2.3-70-g09d2