diff --git a/src/Core/Scene/CSceneNode.h b/src/Core/Scene/CSceneNode.h index 1aa487e6..eae48c65 100644 --- a/src/Core/Scene/CSceneNode.h +++ b/src/Core/Scene/CSceneNode.h @@ -15,6 +15,7 @@ #include #include #include +#include class CRenderer; class CScene; @@ -97,7 +98,7 @@ protected: uint32 mLightLayerIndex = 0; uint32 mLightCount = 0; - CLight* mLights[8]; + std::array mLights{}; CColor mAmbientColor; public: