Reduce the wander fast forward overcrowding offset (Fixes #3370)

This commit is contained in:
scrawl 2016-04-23 22:46:24 +02:00
parent 091e1bf25d
commit 5edfe8c41c

View file

@ -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)