mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-29 13:39:19 +00:00
upload "kind" alien swarm
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
@@ -227,9 +227,6 @@ int GlobalEntity_GetNumGlobals( void )
|
||||
|
||||
CON_COMMAND(dump_globals, "Dump all global entities/states")
|
||||
{
|
||||
if ( !UTIL_IsCommandIssuedByServerAdmin() )
|
||||
return;
|
||||
|
||||
gGlobalState.DumpGlobals();
|
||||
}
|
||||
|
||||
@@ -237,7 +234,7 @@ CON_COMMAND(dump_globals, "Dump all global entities/states")
|
||||
//#ifdef _DEBUG
|
||||
void CGlobalState::DumpGlobals( void )
|
||||
{
|
||||
static const char *estates[] = { "Off", "On", "Dead" };
|
||||
static char *estates[] = { "Off", "On", "Dead" };
|
||||
|
||||
Msg( "-- Globals --\n" );
|
||||
for ( int i = 0; i < m_list.Count(); i++ )
|
||||
@@ -318,8 +315,5 @@ void ShowServerGameTime()
|
||||
|
||||
CON_COMMAND(server_game_time, "Gives the game time in seconds (server's curtime)")
|
||||
{
|
||||
if ( !UTIL_IsCommandIssuedByServerAdmin() )
|
||||
return;
|
||||
|
||||
ShowServerGameTime();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user