Unused parameter warning removal

This commit is contained in:
Linus Probert 2018-01-24 21:24:42 +01:00
parent 22504419c7
commit cdefa1e737
1 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,8 @@ load_texture(const char *path)
static void
add_health(Item *item, Player *player)
{
UNUSED(item);
int original_hp = player->stats.hp;
player->stats.hp += 2;
if (player->stats.hp > player->stats.maxhp)