Core/Misc: Fix issues reported by static analysis

(cherry picked from commit 33dace231c)
This commit is contained in:
jackpoz
2021-06-20 13:11:53 +02:00
committed by Shauren
parent 7d01ad8b8f
commit d0fe16b787
9 changed files with 11 additions and 11 deletions

View File

@@ -144,7 +144,7 @@ class achievement_arena_kills : public AchievementCriteriaScript
if (!source->InArena())
return false;
return source->GetBattleground()->GetArenaType() == _arenaType;
return ASSERT_NOTNULL(source->GetBattleground())->GetArenaType() == _arenaType;
}
private: