forked from mirror/openmw-tes3mp
Reduce the wander fast forward overcrowding offset (Fixes #3370)
This commit is contained in:
parent
091e1bf25d
commit
5edfe8c41c
1 changed files with 1 additions and 1 deletions
|
@ -808,7 +808,7 @@ namespace MWMechanics
|
||||||
|
|
||||||
int AiWander::OffsetToPreventOvercrowding()
|
int AiWander::OffsetToPreventOvercrowding()
|
||||||
{
|
{
|
||||||
return static_cast<int>(DESTINATION_TOLERANCE * (Misc::Rng::rollProbability() * 2.0f - 1.0f));
|
return static_cast<int>(20 * (Misc::Rng::rollProbability() * 2.0f - 1.0f));
|
||||||
}
|
}
|
||||||
|
|
||||||
void AiWander::getAllowedNodes(const MWWorld::Ptr& actor, const ESM::Cell* cell, AiWanderStorage& storage)
|
void AiWander::getAllowedNodes(const MWWorld::Ptr& actor, const ESM::Cell* cell, AiWanderStorage& storage)
|
||||||
|
|
Loading…
Reference in a new issue