Make sure animations in cutscenes are rendered even if gfx are disabled

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2012-06-16 23:47:53 +00:00
parent f2a15e8cbe
commit be37c90147

View File

@@ -40,7 +40,7 @@ ThreeDAnimation::ThreeDAnimation(const XMLNode &node)
m_crash_reset = false;
node.get("reset", &m_crash_reset);
m_important_animation = false;
m_important_animation = (World::getWorld()->getIdent() == IDENT_CUSTSCENE);
node.get("important", &m_important_animation);
m_triangle_mesh = NULL;