[Bug] UINT32 EmoteID (#2369)

emoteid packet structure is UINT32 but a number of references are in UINT16.
This commit is contained in:
Michael
2022-08-13 19:41:14 -04:00
committed by GitHub
parent 79285b1002
commit f6889d20e9
8 changed files with 18 additions and 18 deletions
+3 -3
View File
@@ -1256,8 +1256,8 @@ public:
void TarGlobal(const char *varname, const char *value, const char *duration, int npcid, int charid, int zoneid);
void DelGlobal(const char *varname);
inline void SetEmoteID(uint16 emote) { emoteid = emote; }
inline uint16 GetEmoteID() { return emoteid; }
inline void SetEmoteID(uint32 emote) { emoteid = emote; }
inline uint32 GetEmoteID() { return emoteid; }
bool HasSpellEffect(int effect_id);
int mod_effect_value(int effect_value, uint16 spell_id, int effect_type, Mob *caster, uint16 caster_id);
@@ -1780,7 +1780,7 @@ protected:
bool m_targetable;
int QGVarDuration(const char *fmt);
void InsertQuestGlobal(int charid, int npcid, int zoneid, const char *name, const char *value, int expdate);
uint16 emoteid;
uint32 emoteid;
SpecialAbility SpecialAbilities[MAX_SPECIAL_ATTACK];
bool bEnraged;