mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +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;
|
(void)mthing;
|
||||||
|
|
||||||
if ((gametyperules & GTR_SPHERES) && (i == MT_RING))
|
if ((i == MT_RING) && (gametyperules & GTR_SPHERES))
|
||||||
return MT_BLUESPHERE;
|
return MT_BLUESPHERE;
|
||||||
|
|
||||||
/*
|
if ((i == MT_RANDOMITEM) && (gametyperules & (GTR_PAPERITEMS|GTR_CIRCUIT)) == (GTR_PAPERITEMS|GTR_CIRCUIT) && !bossinfo.boss)
|
||||||
if ((gametyperules & GTR_PAPERITEMS) && !bossinfo.boss && (i == MT_RANDOMITEM))
|
|
||||||
return MT_PAPERITEMSPOT;
|
return MT_PAPERITEMSPOT;
|
||||||
*/
|
|
||||||
|
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue