diff options
author | Tony J. White <tjw@tjw.org> | 2006-12-09 18:55:29 +0000 |
---|---|---|
committer | Tony J. White <tjw@tjw.org> | 2006-12-09 18:55:29 +0000 |
commit | 0ea107d7502ad16a111e827061964ca0d14e2975 (patch) | |
tree | b3ab10f783f65e0133df5ec34a6818c74f6ebcbf /src | |
parent | 2e291c5d89f2fa8fe45c55e13e6c29876321ed78 (diff) |
* (bug 2790) prevent a hovel from dying more than once.
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_buildable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index 22b241fd..87f8574a 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -1258,6 +1258,7 @@ void AHovel_Die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int self->timestamp = level.time; self->think = ASpawn_Melt; self->nextthink = level.time + 500; //wait .5 seconds before damaging others + self->die = nullDieFunction; //if the hovel is occupied free the occupant if( self->active ) |