diff --git a/source/games/duke/src/inlines.h b/source/games/duke/src/inlines.h index b6a0a9c01..0bf00a644 100644 --- a/source/games/duke/src/inlines.h +++ b/source/games/duke/src/inlines.h @@ -169,7 +169,7 @@ inline bool playrunning() return (paused == 0 || (paused == 1 && (ud.recstat == 2 || ud.multimode > 1))); } -inline int calc_smoothratio(ClockTicks totalclk, ClockTicks ototalclk) +inline double calc_smoothratio(ClockTicks totalclk, ClockTicks ototalclk) { double smoothratio = CalcSmoothRatio(totalclk, ototalclk, REALGAMETICSPERSEC); return (playrunning() ? smoothratio : MaxSmoothRatio);