- Si no s'ha especificat loop, no peta
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user