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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index b64e663c..c56dec3c 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -1246,6 +1246,9 @@ void AHovel_Use( gentity_t *self, gentity_t *other, gentity_t *activator )
activator->client->ps.eFlags |= EF_NODRAW;
G_UnlaggedClear( activator );
+ // Cancel pending suicides
+ activator->suicideTime = 0;
+
activator->client->ps.stats[ STAT_STATE ] |= SS_HOVELING;
activator->client->hovel = self;
self->builder = activator;