change |= to &=

This commit is contained in:
ashi 2022-11-23 16:22:52 +00:00
parent aa8410c612
commit 1fb6adf390

View file

@ -1406,7 +1406,7 @@ void A_StatueBurst(mobj_t *actor)
return;
// make statue intangible upon spawning so you can't stand above the created object for 40 tics
actor->flags |= ~MF_SOLID;
actor->flags &= ~MF_SOLID;
if (!locvar1 || !(new = P_SpawnMobjFromMobj(actor, 0, 0, 0, locvar1)))
return;