mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 18:32:08 +00:00
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:
parent
9b89ed92f5
commit
70f08007eb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue