Update events.c
This commit is contained in:
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user