Fixed Bug Where Speed Could be Reduced Below 0

This commit is contained in:
Jake Huxell 2016-09-17 19:15:03 +01:00
parent 4c8e148ed1
commit 75be0895d6
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ void CSpeedLimiter::AlterSpeed( const ESpeedChange SpeedChange )
{
m_Speed += 5 * SpeedFactor;
}
else
else if (m_Speed > 1 && SpeedChange == DECREASE_SPEED || SpeedChange == INCREASE_SPEED)
{
m_Speed += 1 * SpeedFactor;
}