1
0
Fork 0
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:
Chris Robinson 2013-04-24 00:40:58 -07:00
parent 6f0b9a5f2c
commit 544011e096

View file

@ -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();