Przeglądaj źródła

Removed another demo block.

Daniel Buckmaster 10 lat temu
rodzic
commit
86a9417cfd
1 zmienionych plików z 0 dodań i 8 usunięć
  1. 0 8
      Engine/source/navigation/navMesh.cpp

+ 0 - 8
Engine/source/navigation/navMesh.cpp

@@ -331,14 +331,6 @@ bool NavMesh::onAdd()
 
    if(isServerObject())
    {
-#ifdef WALKABOUT_DEMO
-      if(getServerSet()->size() >= 1)
-      {
-         Con::errorf("Sorry, the demo binary only allows one NavMesh to exist at a time.");
-         Con::executef("OnWalkaboutDemoLimit");
-         return false;
-      }
-#endif
       getServerSet()->addObject(this);
       ctx = new NavContext();
       setProcessTick(true);