aboutsummaryrefslogtreecommitdiff
path: root/src/common/Collision/Models/GameObjectModel.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-10-15 11:57:59 +0200
committerShauren <shauren.trinity@gmail.com>2025-10-15 11:57:59 +0200
commit62aefda51d1db9968b0a231220f0afa436f132ae (patch)
tree605f2bcb1d622181afceec681e4cdd32a5ffd2e6 /src/common/Collision/Models/GameObjectModel.h
parentd08e299974142e1354810d66ff09f5aa134a27f6 (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.h2
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();