millorat el rebot dalt
arreglada la repetició de la tecla space
This commit is contained in:
+1
-1
@@ -152,7 +152,7 @@ void checkEvents()
|
||||
break;
|
||||
}
|
||||
|
||||
if (event->type == SDL_KEYDOWN)
|
||||
if (event->type == SDL_KEYDOWN && event->key.repeat == 0)
|
||||
{
|
||||
if (event->key.keysym.sym == SDLK_SPACE)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user