summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2010-02-26 22:25:18 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:28 +0000
commit9b23dbcd3a86aeca7685d779e9c8b70abf3fbc50 (patch)
tree42166eb39e4235951e7ac5403ce9ff9b09142558 /src/ui
parente17c99932a785f0d1548f1b98c8ca93cc0c97eb6 (diff)
* Separate namelog from admin
* Client to namelog mapping * Merge mute, denybuild, ptr in namelog; remove ptr
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/ui_main.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c
index f9c2d7f4..22b35637 100644
--- a/src/ui/ui_main.c
+++ b/src/ui/ui_main.c
@@ -3018,28 +3018,6 @@ static void UI_RunMenuScript( char **args )
if( ( cmd = uiInfo.humanBuildList[ uiInfo.humanBuildIndex ].cmd ) )
trap_Cmd_ExecuteText( EXEC_APPEND, cmd );
}
- else if( Q_stricmp( name, "PTRCRestore" ) == 0 )
- {
- int len;
- char text[ 16 ];
- fileHandle_t f;
- char command[ 32 ];
-
- // load the file
- len = trap_FS_FOpenFile( "ptrc.cfg", &f, FS_READ );
-
- if( len > 0 && ( len < sizeof( text ) - 1 ) )
- {
- trap_FS_Read( text, len, f );
- text[ len ] = 0;
-
- Com_sprintf( command, 32, "ptrcrestore %s", text );
-
- trap_Cmd_ExecuteText( EXEC_APPEND, command );
- }
- if( len > -1 )
- trap_FS_FCloseFile( f );
- }
else if( Q_stricmp( name, "Say" ) == 0 )
{
char buffer[ MAX_CVAR_VALUE_STRING ];