mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 07:15:34 +00:00
AiWander must update mIsWanderingManually when resuming wander.
This commit is contained in:
parent
2488ecebc5
commit
24bac3ebd4
2 changed files with 3 additions and 2 deletions
|
@ -84,6 +84,7 @@
|
|||
Bug #7630: Charm can be cast on creatures
|
||||
Bug #7631: Cannot trade with/talk to Creeper or Mudcrab Merchant when they're fleeing
|
||||
Bug #7639: NPCs don't use hand-to-hand if their other melee skills were damaged during combat
|
||||
Bug #7647: NPC walk cycle bugs after greeting player
|
||||
Feature #3537: Shader-based water ripples
|
||||
Feature #5492: Let rain and snow collide with statics
|
||||
Feature #6149: Dehardcode Lua API_REVISION
|
||||
|
|
|
@ -229,7 +229,7 @@ namespace MWMechanics
|
|||
}
|
||||
|
||||
if (mPathFinder.isPathConstructed())
|
||||
storage.setState(AiWanderStorage::Wander_Walking);
|
||||
storage.setState(AiWanderStorage::Wander_Walking, !mUsePathgrid);
|
||||
}
|
||||
|
||||
if (!cStats.getMovementFlag(CreatureStats::Flag_ForceJump)
|
||||
|
@ -499,7 +499,7 @@ namespace MWMechanics
|
|||
if (!checkIdle(actor, storage.mIdleAnimation) && (greetingState == Greet_Done || greetingState == Greet_None))
|
||||
{
|
||||
if (mPathFinder.isPathConstructed())
|
||||
storage.setState(AiWanderStorage::Wander_Walking);
|
||||
storage.setState(AiWanderStorage::Wander_Walking, !mUsePathgrid);
|
||||
else
|
||||
storage.setState(AiWanderStorage::Wander_ChooseAction);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue