Fixed problem related to IsKeyPressed function! (#1589)

This commit is contained in:
Rabia Alhaffar 2021-02-15 14:28:52 +02:00 committed by GitHub
parent ccb083af52
commit e300d268f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ int main(void)
} }
else if (state == 4) // State 4: Reset and Replay else if (state == 4) // State 4: Reset and Replay
{ {
if (IsKeyPressed('R')) if (IsKeyPressed(KEY_R))
{ {
framesCounter = 0; framesCounter = 0;
lettersCount = 0; lettersCount = 0;
@ -157,4 +157,4 @@ int main(void)
//-------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------
return 0; return 0;
} }