1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:53:51 +00:00

Use the calculated max time for the "all" animation

This commit is contained in:
Chris Robinson 2013-01-09 04:30:32 -08:00
parent 465fd9c8af
commit 015bb0bf1f

View file

@ -424,7 +424,7 @@ void loadResource(Ogre::Resource *resource)
boneiter.moveNext(); boneiter.moveNext();
} }
buildAnimation(skel, "all", ctrls, targets, 0.0f, std::numeric_limits<float>::max()); buildAnimation(skel, "all", ctrls, targets, 0.0f, maxtime);
std::string currentgroup; std::string currentgroup;
TextKeyMap::const_iterator keyiter = textkeys.begin(); TextKeyMap::const_iterator keyiter = textkeys.begin();