Merge branch 'sonicitems' into encore

This commit is contained in:
toaster 2018-08-10 15:39:08 +01:00
commit 542b758206

View file

@ -8588,7 +8588,7 @@ for (i = ((mobj->flags2 & MF2_STRONGBOX) ? strongboxamt : weakboxamt); i; --i) s
newmobj = P_SpawnMobj(mobj->x, mobj->y, mobj->z, mobj->type);
// Transfer flags2 (strongbox, objectflip)
newmobj->flags2 = mobj->flags2;
newmobj->flags2 = mobj->flags2 & ~MF2_DONTDRAW;
}
P_RemoveMobj(mobj); // make sure they disappear
return;