mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-09 03:57:51 +03:00
Filter evade directions by supported animations
To avoid trying those which will not lead to any actor movement due to absent animation.
This commit is contained in:
parent
80ae8ce116
commit
b4868c6094
19 changed files with 199 additions and 37 deletions
|
@ -44,6 +44,8 @@ namespace SceneUtil
|
|||
|
||||
bool hasGroupStart(std::string_view groupName) const { return mGroups.count(groupName) > 0; }
|
||||
|
||||
const std::set<std::string, std::less<>>& getGroups() const { return mGroups; }
|
||||
|
||||
private:
|
||||
struct IsGroupStart
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue