Merge branch 'ring-circle-fix' into 'next'

Circle of Blue Spheres were spawning in place of Rings

See merge request STJr/SRB2!576
This commit is contained in:
Nev3r 2019-12-26 04:21:26 -05:00
commit 4411a0f039
1 changed files with 1 additions and 1 deletions

View File

@ -13372,7 +13372,7 @@ void P_SpawnItemPattern(mapthing_t *mthing, boolean bonustime)
{
INT32 numitems = (mthing->type & 1) ? 16 : 8;
fixed_t size = (mthing->type & 1) ? 192*FRACUNIT : 96*FRACUNIT;
mobjtype_t itemtypes[1] = { (mthing->type & 1) ? MT_RING : MT_BLUESPHERE };
mobjtype_t itemtypes[1] = { (mthing->type < 606) ? MT_RING : MT_BLUESPHERE };
P_SpawnItemCircle(mthing, itemtypes, 1, numitems, size, bonustime);
return;
}