From b3763c338d9c1b007b76b0ca94c069bcfbbd8801 Mon Sep 17 00:00:00 2001 From: Shauren Date: Wed, 17 Jul 2024 10:30:09 +0200 Subject: Added missing GameObjectModel::iLosBlockingDisabled initialization in constructor --- src/common/Collision/Models/GameObjectModel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3