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:
parent
091e1bf25d
commit
5edfe8c41c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user