mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-27 09:41:16 +00:00
clang format
This commit is contained in:
parent
c25c6872b0
commit
afb9fa06d7
@ -1145,8 +1145,7 @@ namespace MWRender
|
|||||||
bool hasScriptedAnims = false;
|
bool hasScriptedAnims = false;
|
||||||
for (AnimStateMap::iterator stateiter = mStates.begin(); stateiter != mStates.end(); stateiter++)
|
for (AnimStateMap::iterator stateiter = mStates.begin(); stateiter != mStates.end(); stateiter++)
|
||||||
{
|
{
|
||||||
if (stateiter->second.mPriority.contains(int(MWMechanics::Priority_Scripted))
|
if (stateiter->second.mPriority.contains(int(MWMechanics::Priority_Scripted)) && stateiter->second.mPlaying)
|
||||||
&& stateiter->second.mPlaying)
|
|
||||||
{
|
{
|
||||||
hasScriptedAnims = true;
|
hasScriptedAnims = true;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user