mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 07:53:53 +00:00
Fix 'start' text key fallback lookup
This commit is contained in:
parent
6f0b9a5f2c
commit
544011e096
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ bool Animation::reset(size_t layeridx, const NifOgre::TextKeyMap &keys, NifOgre:
|
||||||
NifOgre::TextKeyMap::const_iterator startkey(keys.begin());
|
NifOgre::TextKeyMap::const_iterator startkey(keys.begin());
|
||||||
while(startkey != keys.end() && startkey->second != tag)
|
while(startkey != keys.end() && startkey->second != tag)
|
||||||
startkey++;
|
startkey++;
|
||||||
if(startkey == keys.end() && tag == "loop start")
|
if(startkey == keys.end() && start == "loop start")
|
||||||
{
|
{
|
||||||
tag = groupname+": start";
|
tag = groupname+": start";
|
||||||
startkey = keys.begin();
|
startkey = keys.begin();
|
||||||
|
|
Loading…
Reference in a new issue