- use the proper variable for timer frequency only.

MinFPSRate was an obsolete leftover.
This commit is contained in:
Christoph Oelckers 2020-09-27 12:27:49 +02:00
parent c326bcd308
commit 9764c9de0b

View file

@ -456,8 +456,6 @@ namespace Powerslave
::GameInterface* CreateInterface();
}
extern int MinFPSRate; // this is a bit messy.
void CheckFrontend(int flags)
{
if (flags & GAMEFLAG_BLOOD)
@ -466,7 +464,6 @@ void CheckFrontend(int flags)
}
else if (flags & GAMEFLAG_SW)
{
MinFPSRate = 40;
gi = ShadowWarrior::CreateInterface();
}
else if (flags & GAMEFLAG_PSEXHUMED)