mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
Fix potential infinite loop when layer 0 is empty
This commit is contained in:
parent
76c8e81908
commit
9be20b90f1
@ -228,7 +228,10 @@ void Animation::updateActiveControllers()
|
||||
}
|
||||
}
|
||||
if(ctrls == NULL)
|
||||
{
|
||||
layer++;
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Check if any objectlists are active on subsequent layers. Include
|
||||
* those layers if not.
|
||||
|
Loading…
Reference in New Issue
Block a user