mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-07 04:47:45 +00:00
fix(Core/Misc): Change const to be after type name (#10591)
This commit is contained in:
@@ -302,7 +302,7 @@ bool ArenaSpectator::ShouldSendAura(Aura* aura, uint8 effMask, ObjectGuid target
|
||||
}
|
||||
|
||||
template<>
|
||||
AC_GAME_API void ArenaSpectator::SendPacketTo(const Player* player, std::string&& message)
|
||||
AC_GAME_API void ArenaSpectator::SendPacketTo(Player const* player, std::string&& message)
|
||||
{
|
||||
WorldPacket data;
|
||||
CreatePacket(data, message);
|
||||
|
||||
@@ -91,7 +91,7 @@ namespace ArenaSpectator
|
||||
if (!targetGUID.IsPlayer())
|
||||
return;
|
||||
|
||||
if (const SpellInfo* si = sSpellMgr->GetSpellInfo(id))
|
||||
if (SpellInfo const* si = sSpellMgr->GetSpellInfo(id))
|
||||
if (si->SpellIconID == 1)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user