diff options
| author | Ray <[email protected]> | 2021-04-28 19:27:50 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-04-28 19:27:50 +0200 |
| commit | f516f4099b6d23c41a8e3aed1a9ee699740eef4e (patch) | |
| tree | 38cb950f01c2054fc44955f162918836ca706d02 /src | |
| parent | d6708de7b0c640b3ca2e667ba8aaec1d70f14845 (diff) | |
| download | raylib-f516f4099b6d23c41a8e3aed1a9ee699740eef4e.tar.gz raylib-f516f4099b6d23c41a8e3aed1a9ee699740eef4e.zip | |
Corrected issue #1742
Diffstat (limited to 'src')
| -rw-r--r-- | src/physac.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/physac.h b/src/physac.h index 4b419bba..676a9695 100644 --- a/src/physac.h +++ b/src/physac.h @@ -849,7 +849,7 @@ PHYSACDEF void ResetPhysics(void) if (physicsBodiesCount > 0) { // Unitialize physics bodies dynamic memory allocations - for (unsigned int i = physicsBodiesCount - 1; i >= 0; i--) + for (int i = physicsBodiesCount - 1; i >= 0; i--) { PhysicsBody body = bodies[i]; @@ -867,7 +867,7 @@ PHYSACDEF void ResetPhysics(void) if (physicsManifoldsCount > 0) { // Unitialize physics manifolds dynamic memory allocations - for (unsigned int i = physicsManifoldsCount - 1; i >= 0; i--) + for (int i = physicsManifoldsCount - 1; i >= 0; i--) { PhysicsManifold manifold = contacts[i]; |
