diff options
author | Tony J. White <tjw@tjw.org> | 2006-09-29 14:15:15 +0000 |
---|---|---|
committer | Tony J. White <tjw@tjw.org> | 2006-09-29 14:15:15 +0000 |
commit | 8afbd54e92f4edf1a5b456b547b8f4acd6043698 (patch) | |
tree | af5bdb41c5bf5bc40e33fbeae1819ec977c3c824 /src/game/g_admin.c | |
parent | c82de6b4ac7812a75e7454009e5762af8724f848 (diff) |
* !lock command without parameter was not printing usage information
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r-- | src/game/g_admin.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |