mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Allow demo speeds up to 256
This commit is contained in:
parent
4f168ba936
commit
989726db00
|
@ -820,7 +820,7 @@ int CDemoPlayer::SetPos(float Percent)
|
||||||
|
|
||||||
void CDemoPlayer::SetSpeed(float Speed)
|
void CDemoPlayer::SetSpeed(float Speed)
|
||||||
{
|
{
|
||||||
m_Info.m_Info.m_Speed = clamp(Speed, 0.f, 64.f);
|
m_Info.m_Info.m_Speed = clamp(Speed, 0.f, 256.f);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CDemoPlayer::SetSpeedIndex(int Offset)
|
void CDemoPlayer::SetSpeedIndex(int Offset)
|
||||||
|
|
Loading…
Reference in a new issue