mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Fix 'start' text key fallback lookup
This commit is contained in:
parent
6f0b9a5f2c
commit
544011e096
@ -412,7 +412,7 @@ bool Animation::reset(size_t layeridx, const NifOgre::TextKeyMap &keys, NifOgre:
|
||||
NifOgre::TextKeyMap::const_iterator startkey(keys.begin());
|
||||
while(startkey != keys.end() && startkey->second != tag)
|
||||
startkey++;
|
||||
if(startkey == keys.end() && tag == "loop start")
|
||||
if(startkey == keys.end() && start == "loop start")
|
||||
{
|
||||
tag = groupname+": start";
|
||||
startkey = keys.begin();
|
||||
|
Loading…
x
Reference in New Issue
Block a user