Fixed index in debug output and compiler warning.
This commit is contained in:
parent
9b4f773703
commit
7508b5db8b
@ -1413,7 +1413,9 @@ void Kart::update(float dt)
|
||||
m_body->getBroadphaseHandle()->m_collisionFilterGroup = 0;
|
||||
}
|
||||
#ifdef XX
|
||||
Log::verbose("physicsafter", "%s t %f %f xyz(9-11) %f %f %f %f %f %f v(13-15) %f %f %f steerf(17) %f maxangle(19) %f speed(21) %f steering(23-24) %f %f clock %lf",
|
||||
Log::verbose("physicsafter", "%s t %f %f xyz(9-11) %f %f %f %f %f %f "
|
||||
"v(16-18) %f %f %f steerf(20) %f maxangle(22) %f speed(24) %f "
|
||||
"steering(26-27) %f %f clock(29) %lf",
|
||||
getIdent().c_str(),
|
||||
World::getWorld()->getTime(), dt,
|
||||
getXYZ().getX(), getXYZ().getY(), getXYZ().getZ(),
|
||||
@ -2195,7 +2197,7 @@ void Kart::playCrashSFX(const Material* m, AbstractKart *k)
|
||||
{
|
||||
const float speed_for_max_volume = 15; //The speed at which the sound plays at maximum volume
|
||||
const float max_volume = 1; //The maximum volume a sound is played at
|
||||
const float min_volume = 0.2; //The minimum volume a sound is played at
|
||||
const float min_volume = 0.2f; //The minimum volume a sound is played at
|
||||
|
||||
float volume; //The volume the crash sound will be played at
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user