fix spike ring catapult

This commit is contained in:
katsy 2021-12-07 17:10:38 -06:00
parent 6504557393
commit 895c3bf19b

View file

@ -1144,7 +1144,7 @@ static boolean PIT_CheckThing(mobj_t *thing)
} }
// When solid spikes move, assume they just popped up and teleport things on top of them to hurt. // When solid spikes move, assume they just popped up and teleport things on top of them to hurt.
if (tmthing->type == MT_SPIKE && tmthing->flags & MF_SOLID) if (tmthing->type == MT_SPIKE && (thing->flags & MF_SOLID) && (tmthing->flags & MF_SOLID))
{ {
if (thing->z > tmthing->z + tmthing->height) if (thing->z > tmthing->z + tmthing->height)
return true; // overhead return true; // overhead