From 756cb142f2b85d5b0fa5bf4499958294a217c03f Mon Sep 17 00:00:00 2001 From: Paradox460 Date: Sat, 17 May 2008 02:55:38 +0000 Subject: [PATCH] Fixed missing return in PTRC commands, now they work properly. --- src/game/g_cmds.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 4aad5be..9393fbb 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -4248,6 +4248,7 @@ void Cmd_PTRCVerify_f( gentity_t *ent ) trap_SendServerCommand( ent - g_entities, "print \"This PTR code is already in use\n\"" ); G_AdminsPrintf("%s^7 attempted to use %s^7's PTR code\n", ent->client->pers.netname, players->client->pers.netname); + return; } } @@ -4314,6 +4315,7 @@ void Cmd_PTRCRestore_f( gentity_t *ent ) trap_SendServerCommand( ent - g_entities, "print \"This PTR code is already in use\n\"" ); G_AdminsPrintf("%s^7 attempted to use %s^7's PTR code\n", ent->client->pers.netname, players->client->pers.netname); + return; } }