Fixed build
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user