From d8412decc77f38880b577b7c1f9b2e61aa438a66 Mon Sep 17 00:00:00 2001 From: zlago Date: Wed, 1 Jan 2025 11:41:30 +0100 Subject: balance changes? --- src/player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/player.c') diff --git a/src/player.c b/src/player.c index 0bf09de..126b2ea 100644 --- a/src/player.c +++ b/src/player.c @@ -81,7 +81,7 @@ static int slash_update(struct projectile *self) { continue; } if (hitbox_overlap(self->hitbox, entities.enemy[i].hitbox)) { - entities.enemy[i].hurt(entities.enemy + i, (struct damage) {self->ext == SLASH_STRONG? 2: 1, self->ext == SLASH_NORMAL? 10: 60}); + entities.enemy[i].hurt(entities.enemy + i, (struct damage) {(enum slash_type) self->ext == SLASH_STRONG? 2: 1, self->ext == SLASH_NORMAL? 10: 60}); } } struct particle *part = entities.particle + entities.particles; -- cgit 1.4.1-2-gfad0