diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2020-02-29 02:31:53 +0000 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2020-03-01 00:38:26 +0000 |
commit | f15ee5ac6702e14a827a2643bfa893796c5659df (patch) | |
tree | ab4e325def071d9459808ccba4b34b0436090cc8 /src/game/g_combat.c | |
parent | 89d24a818535c0c7dc51ac21d1246e2a093c4992 (diff) |
add !practise command
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r-- | src/game/g_combat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c index 5350895..85880ef 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -1336,6 +1336,9 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, if(targ->s.eType == ET_BUILDABLE && g_cheats.integer && g_devmapNoStructDmg.integer) return; + + if( targ->s.eType == ET_BUILDABLE && g_practise.integer ) + return; } // add to the attacker's hit counter |