* Core/Phasing: fixed gameobject floor detection

*merged a crash fix
This commit is contained in:
Ovahlord committed 2018-03-22 17:36:01 +01:00
1 parent e837c9948f
commit 89c6777803
3 files changed
+3 -2

No files matched your search

@@ -2470,6 +2470,7 @@ public:
virtual bool IsSpawned() const override { return _owner->isSpawned(); }
virtual uint32 GetDisplayId() const override { return _owner->GetDisplayId(); }
virtual bool IsInPhase(PhaseShift const& phaseShift) const override { return _owner->GetPhaseShift().CanSee(phaseShift); }
virtual G3D::Vector3 GetPosition() const override { return G3D::Vector3(_owner->GetPositionX(), _owner->GetPositionY(), _owner->GetPositionZ()); }
virtual float GetOrientation() const override { return _owner->GetOrientation(); }
virtual float GetScale() const override { return _owner->GetObjectScale(); }