Core: Crash fix (TemporarySummon), remove some warnings and some other minor changes
- "const uint64" and "uint64 const" --> uint64 - Add some info in LFGDungeonEntry - Move some definitions from ".h" files and move to ".cpp"
This commit is contained in:
@@ -19610,8 +19610,8 @@ void Player::SendRemoveControlBar()
|
||||
|
||||
bool Player::IsAffectedBySpellmod(SpellInfo const *spellInfo, SpellModifier *mod, Spell* spell)
|
||||
{
|
||||
if (!mod || !spellInfo)
|
||||
return false;
|
||||
if (!mod || !spellInfo)
|
||||
return false;
|
||||
|
||||
// Mod out of charges
|
||||
if (spell && mod->charges == -1 && spell->m_appliedMods.find(mod->ownerAura) == spell->m_appliedMods.end())
|
||||
|
||||
@@ -1567,7 +1567,7 @@ class Player : public Unit, public GridObject<Player>
|
||||
uint64 GetSelection() const { return m_curSelection; }
|
||||
Unit *GetSelectedUnit() const;
|
||||
Player *GetSelectedPlayer() const;
|
||||
void SetSelection(const uint64 guid) { m_curSelection = guid; SetUInt64Value(UNIT_FIELD_TARGET, guid); }
|
||||
void SetSelection(uint64 guid) { m_curSelection = guid; SetUInt64Value(UNIT_FIELD_TARGET, guid); }
|
||||
|
||||
uint8 GetComboPoints() { return m_comboPoints; }
|
||||
uint64 GetComboTarget() const { return m_comboTarget; }
|
||||
@@ -1902,7 +1902,7 @@ class Player : public Unit, public GridObject<Player>
|
||||
void UpdateRuneRegen(RuneType rune);
|
||||
|
||||
uint64 GetLootGUID() const { return m_lootGuid; }
|
||||
void SetLootGUID(const uint64 guid) { m_lootGuid = guid; }
|
||||
void SetLootGUID(uint64 guid) { m_lootGuid = guid; }
|
||||
|
||||
void RemovedInsignia(Player* looterPlr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user