mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-02 00:53:16 +00:00
- WHaven: Fix issues with smoothratio
.
This commit is contained in:
parent
422d9bfebd
commit
4382ab09b8
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
||||||
BEGIN_WH_NS
|
BEGIN_WH_NS
|
||||||
|
|
||||||
|
|
||||||
void drawscreen(int num, int dasmoothratio, bool sceneonly)
|
void drawscreen(int num, double dasmoothratio, bool sceneonly)
|
||||||
{
|
{
|
||||||
|
|
||||||
PLAYER& plr = player[num];
|
PLAYER& plr = player[num];
|
||||||
|
@ -95,7 +95,7 @@ void GameInterface::Render()
|
||||||
{
|
{
|
||||||
double const smoothRatio = playrunning() ? I_GetTimeFrac() * MaxSmoothRatio : MaxSmoothRatio;
|
double const smoothRatio = playrunning() ? I_GetTimeFrac() * MaxSmoothRatio : MaxSmoothRatio;
|
||||||
|
|
||||||
drawscreen(pyrn, FloatToFixed(smoothRatio), false);
|
drawscreen(pyrn, smoothRatio, false);
|
||||||
if (!paused && isWh2() && attacktheme && !Mus_IsPlaying())
|
if (!paused && isWh2() && attacktheme && !Mus_IsPlaying())
|
||||||
{
|
{
|
||||||
startsong(krand() % 2);
|
startsong(krand() % 2);
|
||||||
|
|
Loading…
Reference in a new issue