diff --git a/source/world.cpp b/source/world.cpp index 598f2de..602ea24 100644 --- a/source/world.cpp +++ b/source/world.cpp @@ -22,7 +22,7 @@ extern "C" { #define MIN_ALLOC (2) -World::World() : lightCount(0) +World::World() : lightCount(0), worldGroup("World") { this->allocatedLightCount = MIN_ALLOC; this->lightList = (Light **)calloc(sizeof(Light *), MIN_ALLOC);