mirror of
https://git.vectorsigma.ru/public/mod-playerbots.git
synced 2026-08-03 22:19:18 +00:00
Allow bots to manage their own quest log and removed quests based on conditions
This commit is contained in:
@@ -66,7 +66,6 @@ bool CleanQuestLogAction::Execute(Event event)
|
||||
uint8 totalQuests = 0;
|
||||
|
||||
DropQuestType(totalQuests); //Count the total quests
|
||||
|
||||
if (MAX_QUEST_LOG_SIZE - totalQuests > 6)
|
||||
{
|
||||
DropQuestType(totalQuests, MAX_QUEST_LOG_SIZE, true, true); //Drop failed quests
|
||||
|
||||
Reference in New Issue
Block a user