mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 03:35:27 +00:00
AI Execution Fix - Preiovusly AiExecute was being called even when in a menu, this was not correct behavior.
This commit is contained in:
parent
5fac75845c
commit
feb180724c
@ -30,6 +30,7 @@ namespace MWMechanics
|
||||
|
||||
// AI
|
||||
CreatureStats& creatureStats = MWWorld::Class::get (ptr).getCreatureStats (ptr);
|
||||
if(!MWBase::Environment::get().getWindowManager()->isGuiMode())
|
||||
creatureStats.getAiSequence().execute (ptr);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user