Selaa lähdekoodia

World default group now have a name!

Fancy!
Godzil 4 vuotta sitten
vanhempi
commit
0f945b69cc
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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);