mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-06 06:13:10 +00:00
Fixed problem related to IsKeyPressed function! (#1589)
This commit is contained in:
parent
ccb083af52
commit
e300d268f9
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user