Change order in which tires are lost

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9706 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-09-01 23:59:05 +00:00
parent a87d0c5f2b
commit 79f5f69b9e

View File

@ -164,7 +164,7 @@ void ThreeStrikesBattle::kartHit(const int kart_id)
if (core::stringc(curr->getName()) == "tire1")
{
curr->setVisible(m_kart_info[kart_id].m_lives >= 1);
curr->setVisible(m_kart_info[kart_id].m_lives >= 3);
}
else if (core::stringc(curr->getName()) == "tire2")
{
@ -172,7 +172,7 @@ void ThreeStrikesBattle::kartHit(const int kart_id)
}
else if (core::stringc(curr->getName()) == "tire3")
{
curr->setVisible(m_kart_info[kart_id].m_lives >= 3);
curr->setVisible(m_kart_info[kart_id].m_lives >= 1);
}
}