aboutsummaryrefslogtreecommitdiff
path: root/src/world.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c2
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);
}