diff options
-rw-r--r-- | src/game/g_admin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index da6ee30..923984f 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -8715,7 +8715,8 @@ qboolean G_admin_practise( gentity_t *ent, int skiparg ) return qfalse; } - ent->flags ^= FL_NOTARGET; + if( ent ) + ent->flags ^= FL_NOTARGET; AP( va( "print \"^3!practise: ^7practise mode was %s by %s\n\"", arg, |