mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 08:33:47 +00:00
Revert "Build/Clang: fixed 96 warnings + improved code readability"
This reverts commit a4589f71d5.
This commit is contained in:
@@ -1350,7 +1350,7 @@ void Group::CountTheRoll(Rolls::iterator rollI, Map* allowedMap)
|
||||
continue;
|
||||
|
||||
player = ObjectAccessor::FindPlayer(itr->first);
|
||||
if (!player || (allowedMap != NULL && player->FindMap() != allowedMap))
|
||||
if (!player || allowedMap != NULL && player->FindMap() != allowedMap)
|
||||
{
|
||||
--roll->totalNeed;
|
||||
continue;
|
||||
@@ -1414,7 +1414,7 @@ void Group::CountTheRoll(Rolls::iterator rollI, Map* allowedMap)
|
||||
continue;
|
||||
|
||||
player = ObjectAccessor::FindPlayer(itr->first);
|
||||
if (!player || (allowedMap != NULL && player->FindMap() != allowedMap))
|
||||
if (!player || allowedMap != NULL && player->FindMap() != allowedMap)
|
||||
{
|
||||
--roll->totalGreed;
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user