mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 13:53:51 +00:00
[Client] Set a very high processing range for AI for the time being
This commit is contained in:
parent
8d41a0c53b
commit
8b8d55e8d3
1 changed files with 10 additions and 1 deletions
|
@ -154,8 +154,17 @@ void getRestorationPerHourOfSleep (const MWWorld::Ptr& ptr, float& health, float
|
||||||
|
|
||||||
namespace MWMechanics
|
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;
|
const float sqrAiProcessingDistance = aiProcessingDistance*aiProcessingDistance;
|
||||||
|
|
||||||
class SoulTrap : public MWMechanics::EffectSourceVisitor
|
class SoulTrap : public MWMechanics::EffectSourceVisitor
|
||||||
|
|
Loading…
Reference in a new issue