Core/GameObjects: DestructibleGameObjects only have display info in intact state
This commit is contained in:
1 parent
5db7bf9cc3
commit
2be0207c1d
1 file changed
+1
-1
@@ -1660,7 +1660,7 @@ void GameObject::SendCustomAnim(uint32 anim)
|
||||
|
||||
bool GameObject::IsInRange(float x, float y, float z, float radius) const
|
||||
{
|
||||
GameObjectDisplayInfoEntry const* info = sGameObjectDisplayInfoStore.LookupEntry(GetUInt32Value(GAMEOBJECT_DISPLAYID));
|
||||
GameObjectDisplayInfoEntry const* info = sGameObjectDisplayInfoStore.LookupEntry(m_goInfo->displayId);
|
||||
if (!info)
|
||||
return IsWithinDist3d(x, y, z, radius);
|
||||
|
||||
|
||||
Reference in new issue
Block a user