summaryrefslogtreecommitdiff
path: root/src/entity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.c')
-rw-r--r--src/entity.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/entity.c b/src/entity.c
index 5f3a0dd..65af918 100644
--- a/src/entity.c
+++ b/src/entity.c
@@ -27,9 +27,8 @@ entity_type(const char *type)
}
bool
-entity_collide(Entity *this, Game *g, int ox, int oy)
+entity_collide(Entity *this, [[maybe_unused]] Game *g, int ox, int oy)
{
- (void)g;
int x0, y0, x1, y1;
_points(this, ox, oy, &x0, &x1, &y0, &y1);
return (map_get_px(x0, y0) == 1 || map_get_px(x0, y1) == 1 ||