From a803578bc035078d5b859d257eda57f93a29b19a Mon Sep 17 00:00:00 2001 From: Linus Probert Date: Sun, 14 Oct 2018 21:38:56 +0200 Subject: [PATCH] Fixes a gcc warning --- src/player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/player.c b/src/player.c index 4c54f7b..4f558e3 100644 --- a/src/player.c +++ b/src/player.c @@ -220,7 +220,7 @@ has_collided(Player *player, RoomMatrix *matrix, Vector2d direction) player->sprite->pos.x -= TILE_DIMENSION * (int)direction.x; player->sprite->pos.y -= TILE_DIMENSION * (int)direction.y; - gamecontroller_rumble(0.30, 100); + gamecontroller_rumble(0.30f, 100); if (space->monster) { on_monster_collision(player, space->monster, matrix, direction); } else {