summaryrefslogtreecommitdiff
path: root/src/entity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.c')
-rw-r--r--src/entity.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entity.c b/src/entity.c
index 75ad7ec..89769fd 100644
--- a/src/entity.c
+++ b/src/entity.c
@@ -93,8 +93,8 @@ entity_move(Entity *this, [[maybe_unused]] struct Game *g)
}
Entity *
-entity_init(Entity *this, unsigned int type, int x, int y)
+entity_init(Entity *this, unsigned int type, int x, int y, int w, int h)
{
- entitytags[type - 1].init(this, x, y);
+ entitytags[type - 1].init(this, x, y, w, h);
return this;
}