Explorar o código

World default group now have a name!

Fancy!
Godzil %!s(int64=4) %!d(string=hai) anos
pai
achega
0f945b69cc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      source/world.cpp

+ 1 - 1
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);