From 8afbd54e92f4edf1a5b456b547b8f4acd6043698 Mon Sep 17 00:00:00 2001 From: "Tony J. White" Date: Fri, 29 Sep 2006 14:15:15 +0000 Subject: * !lock command without parameter was not printing usage information --- src/game/g_admin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/g_admin.c') diff --git a/src/game/g_admin.c b/src/game/g_admin.c index efcdad97..851d3491 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -2616,7 +2616,7 @@ qboolean G_admin_lock( gentity_t *ent, int skiparg ) char teamName[2] = {""}; pTeam_t team; - if( G_SayArgc() < 1 + skiparg ) + if( G_SayArgc() < 2 + skiparg ) { ADMP( "^3!lock: ^7usage: !lock [a|h]\n" ); return qfalse; -- cgit