From 6c8ce54f94a20e4809368d2788a154c8203ed499 Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Sat, 3 Oct 2009 12:16:35 +0000 Subject: * Remove another pointless va() * g_adminNameProtect is now properly disabled when 0 * Do not remove admins with negative levels (if any such levels exist) * Fix admin level name alignment in !listplayers and !listadmins * Fix some !showbans regressions + !showbans -1 was showing the last two bans + !showbans -1 was not working with only 1 ban * Fix a ptr error message --- src/game/g_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/g_cmds.c') diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index c12afd4a..c9bbf465 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -2790,7 +2790,7 @@ void Cmd_PTRCRestore_f( gentity_t *ent ) else { trap_SendServerCommand( ent - g_entities, - va( "print \"\"%d\" is not a valid PTR code\n\"", code ) ); + va( "print \"'%d' is not a valid PTR code\n\"", code ) ); } } -- cgit