Unused parameter warning removal
This commit is contained in:
parent
22504419c7
commit
cdefa1e737
|
@ -38,6 +38,8 @@ load_texture(const char *path)
|
||||||
static void
|
static void
|
||||||
add_health(Item *item, Player *player)
|
add_health(Item *item, Player *player)
|
||||||
{
|
{
|
||||||
|
UNUSED(item);
|
||||||
|
|
||||||
int original_hp = player->stats.hp;
|
int original_hp = player->stats.hp;
|
||||||
player->stats.hp += 2;
|
player->stats.hp += 2;
|
||||||
if (player->stats.hp > player->stats.maxhp)
|
if (player->stats.hp > player->stats.maxhp)
|
||||||
|
|
Loading…
Reference in New Issue