Fixed Bug Where Speed Could be Reduced Below 0
This commit is contained in:
parent
4c8e148ed1
commit
75be0895d6
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue