From 3f0be672f9c5a07a98be0dc703b95f1bbe73f33e Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Sun, 9 Jul 2023 00:53:10 -0600 Subject: Mouse control working --- src/world.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/world.c') 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); } } -- cgit v1.2.3