1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 09:23:51 +00:00

[Client] Set a very high processing range for AI for the time being

This commit is contained in:
David Cernat 2017-05-05 03:17:28 +03:00
parent 8d41a0c53b
commit 8b8d55e8d3

View file

@ -154,8 +154,17 @@ void getRestorationPerHourOfSleep (const MWWorld::Ptr& ptr, float& health, float
namespace MWMechanics
{
/*
Start of tes3mp change (major)
const float aiProcessingDistance = 7168;
Multiplayer needs AI processing to not have a distance limit, at least until a better authority system
is implemented for LocalActors
*/
//const float aiProcessingDistance = 7168;
const float aiProcessingDistance = 8192 * 50;
/*
End of tes3mp change (major)
*/
const float sqrAiProcessingDistance = aiProcessingDistance*aiProcessingDistance;
class SoulTrap : public MWMechanics::EffectSourceVisitor