From 62aefda51d1db9968b0a231220f0afa436f132ae Mon Sep 17 00:00:00 2001 From: Shauren Date: Wed, 15 Oct 2025 11:57:59 +0200 Subject: Core/GameObjects: Don't ignore collision for destructible gameobjects in destroyed state - they simply have a different model --- src/common/Collision/Models/GameObjectModel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/Collision/Models/GameObjectModel.h') diff --git a/src/common/Collision/Models/GameObjectModel.h b/src/common/Collision/Models/GameObjectModel.h index c55ac34e482..2ea99f61e20 100644 --- a/src/common/Collision/Models/GameObjectModel.h +++ b/src/common/Collision/Models/GameObjectModel.h @@ -79,7 +79,7 @@ public: bool GetLocationInfo(G3D::Vector3 const& point, VMAP::LocationInfo& info, PhaseShift const& phaseShift) const; bool GetLiquidLevel(G3D::Vector3 const& point, VMAP::LocationInfo& info, float& liqHeight) const; - static GameObjectModel* Create(std::unique_ptr modelOwner, std::string const& dataPath); + static std::unique_ptr Create(std::unique_ptr modelOwner, std::string const& dataPath); bool UpdatePosition(); -- cgit v1.2.3