From 047ba3909fcae65e695cd14550eea74331f85c6b Mon Sep 17 00:00:00 2001 From: Austin Hanson Date: Thu, 11 Nov 2021 15:21:43 -0600 Subject: [PATCH] Type for loop invariant, i/index, in squash check --- getting_started/first_3d_game/06.jump_and_squash.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting_started/first_3d_game/06.jump_and_squash.rst b/getting_started/first_3d_game/06.jump_and_squash.rst index e9f19fd71..02dfd90e9 100644 --- a/getting_started/first_3d_game/06.jump_and_squash.rst +++ b/getting_started/first_3d_game/06.jump_and_squash.rst @@ -255,7 +255,7 @@ With this code, if no collisions occurred on a given frame, the loop won't run. { // ... - for (int index = 0; i < GetSlideCount(); index++) + for (int index = 0; index < GetSlideCount(); index++) { // We check every collision that occurred this frame. KinematicCollision collision = GetSlideCollision(index);