mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
R_NoEncore: remove hardcoded condition for trick panels, sneaker panels, speed pads
This commit is contained in:
parent
73e032573d
commit
a589b4961e
1 changed files with 1 additions and 4 deletions
|
|
@ -58,10 +58,7 @@ boolean R_NoEncore(sector_t *sector, levelflat_t *flat, boolean ceiling)
|
||||||
const boolean invertEncore = (sector->flags & MSF_INVERTENCORE);
|
const boolean invertEncore = (sector->flags & MSF_INVERTENCORE);
|
||||||
const terrain_t *terrain = (flat != NULL ? flat->terrain : NULL);
|
const terrain_t *terrain = (flat != NULL ? flat->terrain : NULL);
|
||||||
|
|
||||||
if ((terrain == NULL) || (terrain->flags & TRF_REMAP)
|
if ((terrain == NULL) || (terrain->flags & TRF_REMAP))
|
||||||
|| (terrain->trickPanel <= 0
|
|
||||||
&& terrain->speedPad <= 0
|
|
||||||
&& !(terrain->flags & TRF_SNEAKERPANEL)))
|
|
||||||
{
|
{
|
||||||
return invertEncore;
|
return invertEncore;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue