Uodate physics max speed after a rewind to make sure

the physics have the right max and min speed defined.
This commit is contained in:
hiker 2018-04-13 01:07:08 +10:00
parent 0328d05631
commit 6490551533

@ -397,6 +397,7 @@ void MaxSpeed::rewindTo(BareNetworkString *buffer)
{
m_speed_increase[i].rewindTo(buffer, (active_speedups & b) == b);
}
// Make sure to update the physics
update(0);
} // rewindoTo