aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-07-17 10:30:09 +0200
committerOvahlord <dreadkiller@gmx.de>2024-07-18 22:37:14 +0200
commitf9451f1cf51d5c4bbe49a30f027bf33f85cd1024 (patch)
treeaaa7407c08f6ac79069fa01f94801430c801712b
parentd7a26b3897f30cb65ac49f74bfb29677def01057 (diff)
Added missing GameObjectModel::iLosBlockingDisabled initialization in constructor
(cherry picked from commit b3763c338d9c1b007b76b0ca94c069bcfbbd8801)
-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 8a315e8b7d5..c55ac34e482 100644
--- a/src/common/Collision/Models/GameObjectModel.h
+++ b/src/common/Collision/Models/GameObjectModel.h
@@ -59,7 +59,7 @@ public:
class TC_COMMON_API GameObjectModel /*, public Intersectable*/
{
- GameObjectModel() : iCollisionEnabled(false), iInvScale(0), iScale(0), iModel(nullptr) { }
+ GameObjectModel() : iCollisionEnabled(false), iLosBlockingDisabled(false), iInvScale(0), iScale(0), iModel(nullptr) { }
public:
const G3D::AABox& getBounds() const { return iBound; }