diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-12 11:19:24 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-12 11:19:24 +0000 |
commit | b1549e98e0736bab01f197ea22685a667b6b1083 (patch) | |
tree | 199db47f7b6b2888bdcc229fac606e91207d554c /src | |
parent | 62c7a5a3b56f45d22b239009160ca5b4c27a52a8 (diff) | |
download | hercules-b1549e98e0736bab01f197ea22685a667b6b1083.tar.gz hercules-b1549e98e0736bab01f197ea22685a667b6b1083.tar.bz2 hercules-b1549e98e0736bab01f197ea22685a667b6b1083.tar.xz hercules-b1549e98e0736bab01f197ea22685a667b6b1083.zip |
Fixed homunculus skills having unlimited range instead of being capped to view_distance+1 (for details see bugreport:376)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11723 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 1d1b5437d..1da04dc0e 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3300,7 +3300,7 @@ int battle_check_range(struct block_list *src,struct block_list *bl,int range) return 0; if(src->type == BL_HOM && battle_config.hom_setting&0x2) - return 1; //WTF, way to go Aegis and your awesome bugs. + range = battle_config.area_size + 1; //WTF, way to go Aegis and your awesome bugs. if (!check_distance_bl(src, bl, range)) return 0; |