From 5cb0200b9f2e11478e0ca8255cfa621ac2e150fa Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Thu, 12 Oct 2023 13:49:48 +0200 Subject: [PATCH] - Si no s'ha especificat loop, no peta --- source/jgame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/jgame.cpp b/source/jgame.cpp index 14922dd..437f1c2 100644 --- a/source/jgame.cpp +++ b/source/jgame.cpp @@ -65,7 +65,7 @@ int main(int argc, char *argv[]) if (SDL_GetTicks()-current_ticks >= game::ticks_per_frame) { - if (!game::loop()) should_exit = true; + if (game::loop) if (!game::loop()) should_exit = true; input::updateKey(SDL_SCANCODE_UNKNOWN); input::updateKeypressed(SDL_SCANCODE_UNKNOWN); input::updateClk(0);