Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Server/Misc: Fix static analysis issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
AriDEV3 committed Jan 13, 2024
1 parent 6e838e1 commit 87c5e0f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/server/game/Entities/Unit/Unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8079,9 +8079,7 @@ void Unit::SetMinion(Minion *minion, bool apply)

if (minion->HasUnitTypeMask(UNIT_MASK_CONTROLABLE_GUARDIAN))
{
if (AddUInt64Value(UNIT_FIELD_SUMMON, minion->GetGUID()))
{
}
AddUInt64Value(UNIT_FIELD_SUMMON, minion->GetGUID());
}

if (minion->m_Properties && minion->m_Properties->Type == SUMMON_TYPE_MINIPET)
Expand Down

0 comments on commit 87c5e0f

Please sign in to comment.