mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-08 04:06:25 +00:00
Allow GTR_PAPERITEMS to function in a hypothetical GTR_CIRCUIT-based custom gametype.
This commit is contained in:
parent
5c77516aab
commit
4839586617
1 changed files with 2 additions and 4 deletions
|
|
@ -11317,13 +11317,11 @@ static mobjtype_t P_GetMobjtypeSubstitute(mapthing_t *mthing, mobjtype_t i)
|
|||
{
|
||||
(void)mthing;
|
||||
|
||||
if ((gametyperules & GTR_SPHERES) && (i == MT_RING))
|
||||
if ((i == MT_RING) && (gametyperules & GTR_SPHERES))
|
||||
return MT_BLUESPHERE;
|
||||
|
||||
/*
|
||||
if ((gametyperules & GTR_PAPERITEMS) && !bossinfo.boss && (i == MT_RANDOMITEM))
|
||||
if ((i == MT_RANDOMITEM) && (gametyperules & (GTR_PAPERITEMS|GTR_CIRCUIT)) == (GTR_PAPERITEMS|GTR_CIRCUIT) && !bossinfo.boss)
|
||||
return MT_PAPERITEMSPOT;
|
||||
*/
|
||||
|
||||
return i;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue