We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 383aa57 commit 7cd287fCopy full SHA for 7cd287f
game/server/util.cpp
@@ -168,11 +168,6 @@ IServerNetworkable *CEntityFactoryDictionary::Create( const char *pClassName )
168
IEntityFactory *pFactory = FindFactory( pClassName );
169
if ( !pFactory )
170
{
171
-#ifdef STAGING_ONLY
172
- static ConVarRef tf_bot_use_items( "tf_bot_use_items" );
173
- if ( tf_bot_use_items.IsValid() && tf_bot_use_items.GetInt() )
174
- return NULL;
175
-#endif
176
Warning("Attempted to create unknown entity type %s!\n", pClassName );
177
return NULL;
178
}
0 commit comments