Bugfix (saved incorrect variable).

This commit is contained in:
hiker
2016-08-31 16:27:05 +10:00
parent e6b2c0f1a0
commit ce91d6c2b4

View File

@@ -66,7 +66,7 @@ void KartControl::setSteer(float f)
/** Sets the acceleration. */
void KartControl::setAccel(float f)
{
float old_accel = m_steer;
float old_accel = m_accel;
m_accel = f;
RewindManager *re = RewindManager::get();
if (re->isEnabled() && !re->isRewinding() && old_accel != m_accel)