diff --git a/src/monster.c b/src/monster.c index 2a700b3..d632f21 100644 --- a/src/monster.c +++ b/src/monster.c @@ -302,9 +302,8 @@ monster_drop_loot(Monster *monster, Map *map, Player *player) Item *item; Item *items[2]; unsigned int item_count = 0; - bool player_full_health = false; + bool player_full_health = player->stats.hp >= player->stats.maxhp; - player_full_health = player->stats.hp >= player->stats.maxhp; if (player->stats.hp < player->stats.maxhp / 2) item_drop_chance = 0;