Просмотр исходного кода

Properties::getNamespace(id, searchNames) neglected to pass 'searchNames' on to the
recursive call to itself, causing it to default to 'false' on subsequent calls.

Adam Blake 13 лет назад
Родитель
Сommit
5161f325b5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      gameplay/src/Properties.cpp

+ 1 - 1
gameplay/src/Properties.cpp

@@ -574,7 +574,7 @@ Properties* Properties::getNamespace(const char* id, bool searchNames) const
         }
         
         // Search recursively.
-        ret = ret->getNamespace(id);
+        ret = ret->getNamespace(id, searchNames);
         if (ret != NULL)
         {
             return ret;