Fixes a gcc warning

This commit is contained in:
Linus Probert 2018-10-14 21:38:56 +02:00
parent 87925041fe
commit a803578bc0
1 changed files with 1 additions and 1 deletions

View File

@ -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 {