mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 08:33:47 +00:00
refactor: remove useless ternary operator (#11907)
This commit is contained in:
@@ -1045,9 +1045,9 @@ public:
|
||||
if (reportUse)
|
||||
{
|
||||
uint32 gossipId = me->GetGOInfo()->GetGossipMenuId();
|
||||
bool _twilightSetAura = (player->HasAura(AURA_TWILIGHT_SET, player->GetGUID()) ? true : false);
|
||||
bool _medallionAura = (player->HasAura(AURA_MEDALLION, player->GetGUID()) ? true : false);
|
||||
bool _ringAura = (player->HasAura(AURA_RING, player->GetGUID()) ? true : false);
|
||||
bool _twilightSetAura = (player->HasAura(AURA_TWILIGHT_SET, player->GetGUID()));
|
||||
bool _medallionAura = (player->HasAura(AURA_MEDALLION, player->GetGUID()));
|
||||
bool _ringAura = (player->HasAura(AURA_RING, player->GetGUID()));
|
||||
|
||||
switch (gossipId)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user