mirror of
				https://github.com/raysan5/raylib.git
				synced 2025-10-26 12:27:01 +00:00 
			
		
		
		
	Fixed problem related to IsKeyPressed function! (#1589)
				
					
				
			This commit is contained in:
		| @@ -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; | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Rabia Alhaffar
					Rabia Alhaffar