Fixed build

This commit is contained in:
Ovahlord committed 2020-09-11 15:23:53 +02:00
1 parent 2cea40a466
commit e871d2f0eb
4 files changed
+5 -5

No files matched your search

@@ -1229,7 +1229,7 @@ uint8 GameObject::getLevelForTarget(WorldObject const* target) const
if (GetGOInfo()->trap.level != 0)
return GetGOInfo()->trap.level;
if (const Unit* targetUnit = target->ToUnit())
return targetUnit->GetLevel();
return targetUnit->getLevel();
}
return 1;