fix: on_render called while paused

This commit is contained in:
MihailRis
2024-07-08 22:56:22 +03:00
parent 19c6a82ab2
commit 690b8f4807
5 changed files with 17 additions and 11 deletions
+4 -2
View File
@@ -71,7 +71,8 @@ public:
void draw(
const DrawContext& context,
Camera* camera,
bool hudVisible,
bool hudVisible,
bool pause,
PostProcessing* postProcessing
);
void drawBorders(int sx, int sy, int sz, int ex, int ey, int ez);
@@ -83,7 +84,8 @@ public:
void renderLevel(
const DrawContext& context,
Camera* camera,
const EngineSettings& settings
const EngineSettings& settings,
bool pause
);
};