1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

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()
{
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)