fabiangreffrath / woof

Woof! is a continuation of the Boom/MBF bloodline of Doom source ports.
GNU General Public License v2.0
212 stars 36 forks source link

Interpolation doesn't work after pause/enter the menu in singleplayer mode #373

Closed rfomin closed 2 years ago

rfomin commented 2 years ago

After saving in single-player mode (not netgame) in Woof and Crispy it always realtics == 1: https://github.com/fabiangreffrath/woof/blob/6a93b4fc3552cc2dd00892fc67ac62f79cd8f1f9/Source/d_loop.c#L724 So, after savegame uncapped framerate doesn't work in singleplayer mode.

fabiangreffrath commented 2 years ago

Hm, any idea why this happens?

rfomin commented 2 years ago

Hm, any idea why this happens?

I was wrong, it happens after pause/enter the menu because of this code: https://github.com/fabiangreffrath/woof/blob/1dc57a508a6759c749a6bc0231e469abb603da4b/Source/p_tick.c#L254-L264