summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index 911884b0..1a532ca1 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -638,9 +638,9 @@ void AGeneric_CreepCheck( gentity_t *self )
{
if( spawn && self->killedBy != ENTITYNUM_NONE )
G_Damage( self, NULL, g_entities + self->killedBy, NULL, NULL,
- self->health, 0, MOD_SUICIDE );
+ self->health, 0, MOD_NOCREEP );
else
- G_Damage( self, NULL, NULL, NULL, NULL, self->health, 0, MOD_SUICIDE );
+ G_Damage( self, NULL, NULL, NULL, NULL, self->health, 0, MOD_NOCREEP );
return;
}
G_CreepSlow( self );
@@ -2782,7 +2782,7 @@ void G_FreeMarkedBuildables( gentity_t *deconner )
{
ent = level.markedBuildables[ i ];
- G_Damage( ent, NULL, deconner, NULL, NULL, ent->health, 0, MOD_SUICIDE );
+ G_Damage( ent, NULL, deconner, NULL, NULL, ent->health, 0, MOD_DECONSTRUCT );
G_FreeEntity( ent );
}
}