Skip to content

Commit

Permalink
fix: do not award bosstiary/bestiary points for summons
Browse files Browse the repository at this point in the history
  • Loading branch information
luan committed Dec 11, 2023
1 parent b6d6481 commit b43c3f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/creatures/players/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4692,7 +4692,7 @@ bool Player::onKilledMonster(const std::shared_ptr<Monster> &monster) {
if (hasFlag(PlayerFlags_t::NotGenerateLoot)) {
monster->setDropLoot(false);
}
if (monster->isSummon()) {
if (monster->hasBeenSummoned()) {
return false;
}
auto mType = monster->getMonsterType();
Expand Down

0 comments on commit b43c3f1

Please sign in to comment.