Browse Source

Fixed problem related to `IsKeyPressed` function! (#1589)

pull/1591/head
Rabia Alhaffar 4 years ago
committed by GitHub
parent
commit
e300d268f9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      examples/shapes/shapes_logo_raylib_anim.c

+ 2
- 2
examples/shapes/shapes_logo_raylib_anim.c View File

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

Loading…
Cancel
Save