Azaezel před 10 roky
rodič
revize
fb79d1fec7
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      Engine/source/console/simObject.cpp

+ 3 - 3
Engine/source/console/simObject.cpp

@@ -1407,11 +1407,11 @@ void SimObject::linkNamespaces()
    // while still having the class namespace fields matching the current
    // setup.
 
-   if (mNameSpace != NULL)
+   if (mNameSpace)
+   {
       Con::warnf("SimObject::linkNamespaces -- Namespace linkage already in place %s", mNameSpace->getName());
-   if( mNameSpace )
       return;
-
+   }
    // Get the namespace for the C++ class.
 
    Namespace* cppNamespace = getClassRep()->getNameSpace();