Browse Source

formatting

Azaezel 10 years ago
parent
commit
fb79d1fec7
1 changed files with 3 additions and 3 deletions
  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();