From e4946ae07a3b28b6f9b31d3846a7a1fd2ce612c8 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 6 Feb 2018 15:19:49 +0100 Subject: Allow admins to !slap themselves. --- src/game/g_admin.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/game/g_admin.c b/src/game/g_admin.c index 6208705..ca641e0 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -7916,11 +7916,6 @@ qboolean G_admin_slap( gentity_t *ent, int skiparg ) ADMP( "^3!slap: ^7bad target\n" ); return qfalse; } - if( vic == ent ) - { - ADMP( "^3!slap: ^7sorry, you cannot slap yourself\n" ); - return qfalse; - } if( !admin_higher( ent, vic ) ) { ADMP( "^3!slap: ^7sorry, but your intended victim has a higher admin" -- cgit