- Si no s'ha especificat loop, no peta
This commit is contained in:
1 parent
6a46966fe4
commit
5cb0200b9f
1 file changed
+1
-1
+1
-1
@@ -65,7 +65,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
if (SDL_GetTicks()-current_ticks >= game::ticks_per_frame)
|
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::updateKey(SDL_SCANCODE_UNKNOWN);
|
||||||
input::updateKeypressed(SDL_SCANCODE_UNKNOWN);
|
input::updateKeypressed(SDL_SCANCODE_UNKNOWN);
|
||||||
input::updateClk(0);
|
input::updateClk(0);
|
||||||
|
|||||||
Reference in new issue
Block a user