diff --git a/src/creatures/players/player.cpp b/src/creatures/players/player.cpp index b018a9d5e25..c99d06f7bdf 100644 --- a/src/creatures/players/player.cpp +++ b/src/creatures/players/player.cpp @@ -1655,7 +1655,7 @@ void Player::onCreatureAppear(Creature* creature, bool isLogin) { } // Reload bestiary tracker - refreshBestiaryMonsterTracker(); + refreshCyclopediaMonsterTracker(); g_game().checkPlayersRecord(); IOLoginData::updateOnlineStatus(guid, true); diff --git a/src/creatures/players/player.hpp b/src/creatures/players/player.hpp index 34bda548582..5f159f0ec37 100644 --- a/src/creatures/players/player.hpp +++ b/src/creatures/players/player.hpp @@ -303,8 +303,8 @@ class Player final : public Creature, public Cylinder, public Bankable { } } - void refreshBestiaryMonsterTracker() const { - refreshCyclopediaMonsterTracker(getCyclopediaMonsterTrackerSet(false), false); + void refreshCyclopediaMonsterTracker(bool isBoss = false) const { + refreshCyclopediaMonsterTracker(getCyclopediaMonsterTrackerSet(isBoss), isBoss); } void refreshCyclopediaMonsterTracker(const phmap::parallel_flat_hash_set> &trackerList, bool isBoss) const { diff --git a/src/io/io_bosstiary.cpp b/src/io/io_bosstiary.cpp index 45a650765c1..afe6c647245 100644 --- a/src/io/io_bosstiary.cpp +++ b/src/io/io_bosstiary.cpp @@ -176,6 +176,7 @@ void IOBosstiary::addBosstiaryKill(Player* player, const std::shared_ptraddBestiaryKillCount(bossId, amount); + player->refreshCyclopediaMonsterTracker(true); auto newBossLevel = getBossCurrentLevel(player, bossId); if (oldBossLevel == newBossLevel) { return;