From b43c3f1ad8189ba028de5fb6fcc2fadd74ed48c8 Mon Sep 17 00:00:00 2001 From: Luan Santos Date: Sun, 10 Dec 2023 19:59:22 -0800 Subject: [PATCH] fix: do not award bosstiary/bestiary points for summons --- src/creatures/players/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/creatures/players/player.cpp b/src/creatures/players/player.cpp index 87070d95594..99af9d2fc84 100644 --- a/src/creatures/players/player.cpp +++ b/src/creatures/players/player.cpp @@ -4692,7 +4692,7 @@ bool Player::onKilledMonster(const std::shared_ptr &monster) { if (hasFlag(PlayerFlags_t::NotGenerateLoot)) { monster->setDropLoot(false); } - if (monster->isSummon()) { + if (monster->hasBeenSummoned()) { return false; } auto mType = monster->getMonsterType();