summaryrefslogtreecommitdiff
path: root/src/game/g_ptr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_ptr.c')
-rw-r--r--src/game/g_ptr.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/game/g_ptr.c b/src/game/g_ptr.c
index 1b44f091..898ad7f5 100644
--- a/src/game/g_ptr.c
+++ b/src/game/g_ptr.c
@@ -110,29 +110,6 @@ connectionRecord_t *G_GenerateNewConnection( gclient_t *client )
/*
===============
-G_VerifyPTRC
-
-Check a PTR code for validity
-===============
-*/
-qboolean G_VerifyPTRC( int code )
-{
- int i;
-
- if( code == 0 )
- return qfalse;
-
- for( i = 0; i < MAX_CLIENTS; i++ )
- {
- if( connections[ i ].ptrCode == code )
- return qtrue;
- }
-
- return qfalse;
-}
-
-/*
-===============
G_FindConnectionForCode
Finds a connection for a given code
@@ -156,19 +133,6 @@ connectionRecord_t *G_FindConnectionForCode( int code )
/*
===============
-G_DeletePTRConnection
-
-Finds a connection and deletes it
-===============
-*/
-void G_DeletePTRConnection( connectionRecord_t *connection )
-{
- if( connection )
- memset( connection, 0, sizeof( connectionRecord_t ) );
-}
-
-/*
-===============
G_ResetPTRConnections
Invalidate any existing codes