Update events.c

This commit is contained in:
Jason Bou-Samra
2024-10-31 18:57:26 +11:00
committed by GitHub
parent 7e7c4157f0
commit af06397570
+1 -1
View File
@@ -15,7 +15,7 @@ int game_end = 0; // 0 = game, 1 = restart, 2 = game over
////////////////////////////// EVENT LOOP ////////////////////////// ////////////////////////////// EVENT LOOP //////////////////////////
int handle_events(void) { int handle_events(void) {
reset(); // reset();
while (game_end == 0) { while (game_end == 0) {
SDL_PollEvent (&event); SDL_PollEvent (&event);