浏览代码

Removed another demo block.

Daniel Buckmaster 10 年之前
父节点
当前提交
86a9417cfd
共有 1 个文件被更改,包括 0 次插入8 次删除
  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);