From c4dd284c7f4e2c00e7634a249d21dad6e84784f2 Mon Sep 17 00:00:00 2001 From: SaW Date: Thu, 20 Feb 2025 19:41:33 +0100 Subject: [PATCH] Disable TryPreferredMount As it is not implemented yet. https://github.com/liyunfan1223/mod-playerbots/pull/622 --- src/strategy/actions/CheckMountStateAction.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/strategy/actions/CheckMountStateAction.cpp b/src/strategy/actions/CheckMountStateAction.cpp index 2fe0aba3..ba005454 100644 --- a/src/strategy/actions/CheckMountStateAction.cpp +++ b/src/strategy/actions/CheckMountStateAction.cpp @@ -172,8 +172,9 @@ bool CheckMountStateAction::Mount() MountData mountData = CollectMountData(bot); int32 masterSpeed = CalculateMasterMountSpeed(master, mountData); - if (TryPreferredMount(master)) - return true; + // Disabled for now as it is not implemented / documented yet. See https://github.com/liyunfan1223/mod-playerbots/pull/622 + //if (TryPreferredMount(master)) + // return true; int32 masterMountType = GetMountType(master); auto spellsIt = mountData.allSpells.find(masterMountType);