Skip to content

Commit 7cd287f

Browse files
committed
game/server: Drop code path under never defined var
1 parent 383aa57 commit 7cd287f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

game/server/util.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,6 @@ IServerNetworkable *CEntityFactoryDictionary::Create( const char *pClassName )
168168
IEntityFactory *pFactory = FindFactory( pClassName );
169169
if ( !pFactory )
170170
{
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
176171
Warning("Attempted to create unknown entity type %s!\n", pClassName );
177172
return NULL;
178173
}

0 commit comments

Comments
 (0)