diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-09 00:53:10 -0600 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-09 00:53:10 -0600 |
commit | 3f0be672f9c5a07a98be0dc703b95f1bbe73f33e (patch) | |
tree | aeb7776878e3460f7ba1f33cf2c0d195eb45f2c5 /src/world.c | |
parent | b92adb44b618db0272819cb77e5727441c566838 (diff) |
Mouse control working
Diffstat (limited to 'src/world.c')
-rw-r--r-- | src/world.c | 4 |
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); } } |