Tentative fix for #608

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11092 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2012-04-07 20:01:42 +00:00
parent 9e3ba88f98
commit 0206f64ee9

View File

@ -39,7 +39,10 @@ AnimationBase::AnimationBase(const XMLNode &node)
if(m_all_ipos.size()==0)
{
printf("Warning: empty animation curve.\n");
exit(-1);
m_start_time = 0.0f;
m_end_time = 1.0f;
return;
//exit(-1);
}
// Determine start and end X values for this curve.