From 49e94725aa2c8c2cb81ddab6d8b068b0a58857dd Mon Sep 17 00:00:00 2001 From: David Cernat Date: Thu, 12 Apr 2018 17:18:06 +0300 Subject: [PATCH] [Client] Prevent MechanicsManager::playerLoaded() from enabling AI --- apps/openmw/mwmechanics/mechanicsmanagerimp.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwmechanics/mechanicsmanagerimp.cpp b/apps/openmw/mwmechanics/mechanicsmanagerimp.cpp index 0fb40ff0e..b39334c5c 100644 --- a/apps/openmw/mwmechanics/mechanicsmanagerimp.cpp +++ b/apps/openmw/mwmechanics/mechanicsmanagerimp.cpp @@ -870,7 +870,16 @@ namespace MWMechanics mUpdatePlayer = true; mClassSelected = true; mRaceSelected = true; - mAI = true; + + /* + Start of tes3mp change (major) + + Avoid enabling AI in multiplayer + */ + mAI = false; + /* + End of tes3mp change (major) + */ } bool MechanicsManager::isBoundItem(const MWWorld::Ptr& item)