Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2852 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
b643cfd599
commit
de10712c19
@ -311,7 +311,7 @@ void Kart::updatedWeight()
|
||||
void Kart::reset()
|
||||
{
|
||||
// If the kart was eliminated or rescued, the body was removed from the
|
||||
// physics world. add it again.
|
||||
// physics world. Add it again.
|
||||
if(m_eliminated || m_rescue)
|
||||
{
|
||||
RaceManager::getWorld()->getPhysics()->addKart(this, m_vehicle);
|
||||
|
@ -101,7 +101,6 @@ private:
|
||||
|
||||
float m_speed;
|
||||
|
||||
float m_rpm;
|
||||
float m_current_gear_ratio;
|
||||
bool m_rescue;
|
||||
bool m_eliminated;
|
||||
|
Loading…
x
Reference in New Issue
Block a user