diff options
Diffstat (limited to 'src/player.c')
-rw-r--r-- | src/player.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |