Replaced tabs.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-07-15 03:05:05 +00:00
parent e41a7c9518
commit d54bed140f

View File

@ -119,7 +119,7 @@ Kart::Kart (const std::string& ident, Track* track, int position, bool is_first_
// Set position and heading:
m_reset_transform = init_transform;
m_speed = 0.0f;
m_wheel_rotation = 0;
m_wheel_rotation = 0;
m_kart_model->setKart(this);
@ -292,7 +292,7 @@ void Kart::createPhysics()
wheel.m_wheelsDampingCompression = m_kart_properties->getWheelDampingCompression();
wheel.m_frictionSlip = m_kart_properties->getFrictionSlip();
wheel.m_rollInfluence = m_kart_properties->getRollInfluence();
wheel.m_rotation = btScalar(float(m_kart_properties->hasRandomWheels()) * (rand() % 360));
wheel.m_rotation = btScalar(float(m_kart_properties->hasRandomWheels()) * (rand() % 360));
}
// Obviously these allocs have to be properly managed/freed
btTransform t;
@ -1745,7 +1745,7 @@ void Kart::loadData(RaceManager::KartType type, bool is_first_kart,
createPhysics();
// Attach Particle System
if (UserConfigParams::m_graphical_effects && !isWheeless())
{
try
@ -1763,7 +1763,7 @@ void Kart::loadData(RaceManager::KartType type, bool is_first_kart,
std::cerr << "[Kart::loadData] " << e.what() << std::endl;
}
}
if (type == RaceManager::KT_PLAYER && UserConfigParams::m_weather_effects &&
track->getSkyParticles() != NULL)