[9386] Store some config values in Rate emun.

This commit is contained in:
AlexDereka 2010-02-15 00:16:35 +03:00
parent 6e5b74e0ca
commit 5368751c13
33 changed files with 163 additions and 164 deletions

View file

@ -537,7 +537,7 @@ void Creature::DoFleeToGetAssistance()
if (!getVictim())
return;
float radius = sWorld.getConfig(CONFIG_CREATURE_FAMILY_FLEE_ASSISTANCE_RADIUS);
float radius = sWorld.getRate(RATE_CREATURE_FAMILY_FLEE_ASSISTANCE_RADIUS);
if (radius >0)
{
Creature* pCreature = NULL;
@ -1509,7 +1509,7 @@ void Creature::CallAssistance()
{
SetNoCallAssistance(true);
float radius = sWorld.getConfig(CONFIG_CREATURE_FAMILY_ASSISTANCE_RADIUS);
float radius = sWorld.getRate(RATE_CREATURE_FAMILY_ASSISTANCE_RADIUS);
if(radius > 0)
{
std::list<Creature*> assistList;