Reset bubblegum torque. While this has no effect on behaviour,

it avoids false positives when debugging network code.
This commit is contained in:
hiker 2018-10-19 23:25:18 +11:00
parent 6b273f926a
commit df4a371789

View File

@ -1357,6 +1357,11 @@ void Kart::update(int ticks)
m_bubblegum_torque = 0;
}
}
else
{
// Not strictly necessary, but makes sure torque has expected values
m_bubblegum_torque = 0;
}
// This is to avoid a rescue immediately after an explosion
const bool has_animation_before = m_kart_animation != NULL;