This commit is contained in:
2024-12-15 17:39:02 +01:00
parent 18a0978ab6
commit 02f09680d3
3 changed files with 2 additions and 3 deletions

View File

@@ -199,7 +199,6 @@ void inGameLoop (unsigned short int **tab2d, int N, vect *playerPos,
if (event.type == SDL_KEYDOWN)
{
input = event.key.keysym.scancode;
printf ("%c\n", input);
switch (input)
{
case SDL_SCANCODE_ESCAPE:

2
main.c
View File

@@ -7,7 +7,7 @@
#include <stdio.h>
#include <time.h>
#define SIZE_PLAY 30
#define SIZE_PLAY 26
int main ()
{