diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-09-15 21:26:07 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-09-15 21:26:07 +0200 |
commit | fa901d1cb94cdd47cb066402ae7e478154113306 (patch) | |
tree | 369e02549b3facf6aac2c9af3b995df07fa7581d /src/game-server/monster.cpp | |
parent | a92a2f3255e9b7eabedb8eec7e25cd80e82481fb (diff) | |
download | manaserv-fa901d1cb94cdd47cb066402ae7e478154113306.tar.gz manaserv-fa901d1cb94cdd47cb066402ae7e478154113306.tar.bz2 manaserv-fa901d1cb94cdd47cb066402ae7e478154113306.tar.xz manaserv-fa901d1cb94cdd47cb066402ae7e478154113306.zip |
Reordered the manaserv.xml.example file and made related code cleanups.
Reviewed-by: Thorbjorn.
Diffstat (limited to 'src/game-server/monster.cpp')
-rw-r--r-- | src/game-server/monster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/monster.cpp b/src/game-server/monster.cpp index 85c45336..91737ed1 100644 --- a/src/game-server/monster.cpp +++ b/src/game-server/monster.cpp @@ -214,7 +214,7 @@ void Monster::update() Direction bestAttackDirection = DIRECTION_DOWN; // Iterate through objects nearby - int aroundArea = Configuration::getValue("visualRange", 448); + int aroundArea = Configuration::getValue("game_visualRange", 448); for (BeingIterator i(getMap()->getAroundBeingIterator(this, aroundArea)); i; ++i) { // We only want to attack player characters |