diff options
author | Shauren <shauren.trinity@gmail.com> | 2025-10-15 11:57:59 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2025-10-15 11:57:59 +0200 |
commit | 62aefda51d1db9968b0a231220f0afa436f132ae (patch) | |
tree | 605f2bcb1d622181afceec681e4cdd32a5ffd2e6 /src/common/Collision/Models/GameObjectModel.h | |
parent | d08e299974142e1354810d66ff09f5aa134a27f6 (diff) |
Core/GameObjects: Don't ignore collision for destructible gameobjects in destroyed state - they simply have a different model
Diffstat (limited to 'src/common/Collision/Models/GameObjectModel.h')
-rw-r--r-- | src/common/Collision/Models/GameObjectModel.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<GameObjectModelOwnerBase> modelOwner, std::string const& dataPath); + static std::unique_ptr<GameObjectModel> Create(std::unique_ptr<GameObjectModelOwnerBase> modelOwner, std::string const& dataPath); bool UpdatePosition(); |