From 588d17cb2966d3b5dde803fba34c623cd6796129 Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Thu, 3 May 2018 00:00:22 +0100 Subject: [PATCH] Forgot to do this before making the previous commit; completes support for no-points drone badniks. --- src/p_mobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_mobj.c b/src/p_mobj.c index 027a5f48d..a6c89a760 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -8347,7 +8347,7 @@ mobj_t *P_SpawnMobj(fixed_t x, fixed_t y, fixed_t z, mobjtype_t type) mobj->height = info->height; mobj->flags = info->flags; - mobj->health = info->spawnhealth; + mobj->health = (info->spawnhealth ? info->spawnhealth : 1); mobj->reactiontime = info->reactiontime;