mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Merge branch 'jartha/fix-infinite-spherebox' into 'master'
Fix infinite sphere box breakage Closes #1490 See merge request kart-krew-dev/ring-racers-internal!2511
This commit is contained in:
commit
34dd9e20d1
1 changed files with 4 additions and 2 deletions
|
|
@ -270,8 +270,10 @@ static void P_ItemPop(mobj_t *actor)
|
||||||
actor->extravalue1 = 0;
|
actor->extravalue1 = 0;
|
||||||
|
|
||||||
// de-solidify
|
// de-solidify
|
||||||
// (Nope! Handled in fusethink for item pickup leniency)
|
// Do not set item boxes intangible, those are handled in fusethink for item pickup leniency
|
||||||
// actor->flags |= MF_NOCLIPTHING;
|
// Sphere boxes still need to be set intangible here though
|
||||||
|
if (actor->type != MT_RANDOMITEM)
|
||||||
|
actor->flags |= MF_NOCLIPTHING;
|
||||||
|
|
||||||
// RF_DONTDRAW will flicker as the object's fuse gets
|
// RF_DONTDRAW will flicker as the object's fuse gets
|
||||||
// closer to running out (see P_FuseThink)
|
// closer to running out (see P_FuseThink)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue