Add old local comment about bomb animation so it doesn't go missing.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9152 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
mbjornstk
2011-07-04 02:01:26 +00:00
parent e1ae80d8c0
commit 208fc1adc5

View File

@@ -276,6 +276,9 @@ void Attachment::update(float dt)
// Everything is done in the plugin.
break;
case ATTACH_BOMB:
// Mesh animation frames are 1 to 61 frames (60 steps)
// The idea is change second by second, counterclockwise 60 to 0 secs
// If longer times needed, it should be a surprise "oh! bomb activated!"
if(m_time_left <= (m_node->getEndFrame() - m_node->getStartFrame()-1))
{
m_node->setCurrentFrame(m_node->getEndFrame()