summaryrefslogtreecommitdiffhomepage
path: root/examples/physics/physics_movement.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/physics/physics_movement.c')
-rw-r--r--examples/physics/physics_movement.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/physics/physics_movement.c b/examples/physics/physics_movement.c
index 73a1f927..d6155da1 100644
--- a/examples/physics/physics_movement.c
+++ b/examples/physics/physics_movement.c
@@ -61,9 +61,9 @@ int main(void)
{
// Update
//----------------------------------------------------------------------------------
- UpdatePhysics(); // Update physics system
+ UpdatePhysics(); // Update physics system
- if (IsKeyPressed('R')) // Reset physics input
+ if (IsKeyPressed(KEY_R)) // Reset physics input
{
// Reset movement physics body position, velocity and rotation
body->position = (Vector2){ screenWidth/2, screenHeight/2 };