mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-06 18:15:34 +00:00
clang format
This commit is contained in:
parent
c25c6872b0
commit
afb9fa06d7
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue