aboutsummaryrefslogtreecommitdiff
path: root/src/world.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/world.c b/src/world.c
index 5fd654b..0ec3b32 100644
--- a/src/world.c
+++ b/src/world.c
@@ -234,7 +234,7 @@ void updateWorld(World * world, Game * game) {
// Call update callback.
if (entity->updateCb != NULL)
- entity->updateCb(game, entity, i);
+ entity->updateCb(game, entity);
}
}
@@ -247,6 +247,6 @@ void drawWorld(World * world, Game * game) {
// Call draw callback.
if (entity->drawCb != NULL)
- entity->drawCb(game, entity, i);
+ entity->drawCb(game, entity);
}
}