Disable TryPreferredMount

As it is not implemented yet.

https://github.com/liyunfan1223/mod-playerbots/pull/622
This commit is contained in:
SaW
2025-02-20 19:41:33 +01:00
committed by GitHub
parent 61333a02bf
commit c4dd284c7f

View File

@@ -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);