From 7482e11992229b6ee852b7efa4a986b737b15935 Mon Sep 17 00:00:00 2001 From: toaster Date: Wed, 28 Dec 2022 23:35:27 +0000 Subject: [PATCH] SPB special stage experiment If you smuggle an SPB to after the death of the UFO Catcher, spawn a single, free-on-straightways manta ring before it blows up. Testing shows that you can get hit by the SPB's explosion only if you use the free manta ring just before a sneaker panel... but also Sal thinks it's cool and I think it adds depth --- src/objects/spb.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/objects/spb.c b/src/objects/spb.c index cdb654c5f..af1041049 100644 --- a/src/objects/spb.c +++ b/src/objects/spb.c @@ -865,6 +865,13 @@ void Obj_SPBThink(mobj_t *spb) if ((bestMobj = K_GetPossibleSpecialTarget()) == NULL) { + // experimental - I think it's interesting IMO + Obj_MantaRingCreate( + spb, + spb_owner(spb), + NULL + ); + spb->fuse = TICRATE/3; spb_nothink(spb) = spb->fuse + 2; }