From ddb5b40e5aea809fd3dc512842715357d774469b Mon Sep 17 00:00:00 2001 From: Luan Santos Date: Mon, 11 Dec 2023 13:13:22 -0800 Subject: [PATCH] fix: do not award bosstiary/bestiary points for summons (#2017) Fixes #1832 --- 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();