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

Fixes mistake where GuiInspectorEntityGroup's onAdd doesn't explicitly return true, which can cause problems in some compilers.

Areloch 9 лет назад
Родитель
Сommit
74a2005d15
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      Engine/source/gui/editor/inspector/entityGroup.cpp

+ 2 - 0
Engine/source/gui/editor/inspector/entityGroup.cpp

@@ -41,6 +41,8 @@ bool GuiInspectorEntityGroup::onAdd()
 {
    if (!Parent::onAdd())
       return false;
+
+   return true;
 }
 
 //-----------------------------------------------------------------------------