Core/Player: Extend action button value to uint64 to be able to hold battle pet guids

Port From (https://github.com/TrinityCore/TrinityCore/commit/f67cd38312014b13624dcb5fe1d117dac4892b7d)
This commit is contained in:
hondacrx
2022-09-24 13:50:39 -04:00
parent 1bd88829f2
commit 91e844e9dc
8 changed files with 31 additions and 25 deletions
+1 -1
View File
@@ -4909,7 +4909,7 @@ namespace Game.Spells
//! Action button data is unverified when it's set so it can be "hacked"
//! to contain invalid spells, so filter here.
uint spell_id = ab.GetAction();
uint spell_id = (uint)ab.GetAction();
if (spell_id == 0)
continue;