diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-21 13:48:02 -0600 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-21 13:48:02 -0600 |
commit | a408b352f13df546b2262ca01cf162b60891cdae (patch) | |
tree | 6a7f7053efbf01c65cb82df4478721c3a818f07a /src/world.c | |
parent | d4b40dcf7589bef2bbd0b6b940ee992da9db2343 (diff) |
Sonic fast collision
Diffstat (limited to 'src/world.c')
-rw-r--r-- | src/world.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.c b/src/world.c index e6f24bb..1a3edde 100644 --- a/src/world.c +++ b/src/world.c @@ -255,7 +255,7 @@ void updateWorld(World * world, Game * game) { entity2 = &world->entities[j]; // Collided. - if (checkEntityCollision(*entity, *entity2)) + if (checkEntityCollision(entity, entity2)) handleCollisionInWorld(entity, entity2); } |