summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-02-06 15:19:49 +0100
committerPaweł Redman <pawel.redman@gmail.com>2018-02-06 15:19:49 +0100
commite4946ae07a3b28b6f9b31d3846a7a1fd2ce612c8 (patch)
tree7b0d39649f597bd66552bf6aa229f24931819ccc
parent593b27c7635860e28ab438b0d0cc9d9b1eafe434 (diff)
Allow admins to !slap themselves.
-rw-r--r--src/game/g_admin.c5
1 files changed, 0 insertions, 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"