Fix moving entities flashing in over 30fps mode

This commit is contained in:
AllyTally
2023-07-03 16:29:23 -03:00
committed by Misa Elizabeth Kai
parent 689768b8ca
commit 63620efac8
3 changed files with 19 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
#include "Game.h"
#include "GlitchrunnerMode.h"
#include "Graphics.h"
#include "LevelDebugger.h"
#include "Map.h"
#include "Music.h"
#include "Network.h"
@@ -131,6 +132,7 @@ void gamelogic(void)
{
if (game.physics_frozen())
{
level_debugger::logic();
return;
}
@@ -1475,4 +1477,6 @@ void gamelogic(void)
#undef gotoroom
#undef GOTOROOM
level_debugger::logic();
}