From d638f212335e9bc9a4f77bc12c1bbb2e958705f2 Mon Sep 17 00:00:00 2001 From: Lach Date: Mon, 11 Mar 2024 16:30:56 +1100 Subject: [PATCH] Remove papersprite property from invisible Sealed Star Lamp core --- src/objects/sealed-star.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objects/sealed-star.c b/src/objects/sealed-star.c index ce2e00221..df78b69d1 100644 --- a/src/objects/sealed-star.c +++ b/src/objects/sealed-star.c @@ -466,7 +466,7 @@ void Obj_SSLampMapThingSpawn(mobj_t* mo, mapthing_t* mt) // we need this because linkdrawing to a papersprite results in all linked mobjs becoming invisible when the papersprite is viewed parallel to its angle core = P_SpawnMobjFromMobj(mo, bulbX, bulbY, BULB_VERTICAL_OFFSET, MT_SS_LAMP_BULB); P_SetTarget(&core->tracer, mo); - core->frame = (core->frame & ~FF_FRAMEMASK) | 5; + core->frame = 5; // no flags needed, just a plain invisible sprite // parallel bulb part = P_SpawnMobjFromMobj(core, 0, 0, 0, MT_SS_LAMP_BULB);