Correct the check for rings on thing 604 - 607

The original code used a switch case, not AND 1. :V
This commit is contained in:
James R 2019-12-25 15:23:19 -08:00
parent 9b89ed92f5
commit 70f08007eb
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;
}