summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
authorMichael Levin <risujin@fastmail.fm>2009-10-03 11:25:47 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:14:58 +0000
commitc2772cce6c591f4b043da4526764298d88cce9a9 (patch)
tree63f862614dd96a30c18e56b824950046ee94f752 /src/game/g_buildable.c
parent64755fae9f8aa7b4992227b045a93749ce87b56b (diff)
Server logs look weird with MOD_SUICIDE listed as method of death for buildable deconstruction. Added two new MODs, MOD_DECONSTRUCT and MOD_NOCREEP for more descriptive reasons.
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 );
}
}