mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Let debugfinishline highlight Respawn Lines too
- Finish Lines now render with black & yellow instead of red & white - Respawn Lines render with red & white
This commit is contained in:
parent
92bf2d0989
commit
4934263871
2 changed files with 8 additions and 3 deletions
|
|
@ -425,11 +425,13 @@ boolean R_IsEmptyLine(seg_t *line, sector_t *front, sector_t *back)
|
||||||
|
|
||||||
boolean R_IsDebugLine(seg_t *line)
|
boolean R_IsDebugLine(seg_t *line)
|
||||||
{
|
{
|
||||||
if (line->linedef->special == 2001) // Ring Racers: Finish Line
|
if (cv_debugfinishline.value)
|
||||||
{
|
{
|
||||||
if (cv_debugfinishline.value)
|
switch (line->linedef->special)
|
||||||
{
|
{
|
||||||
return true;
|
case 2001: // Ring Racers: Finish Line
|
||||||
|
case 2003: // Ring Racers: Respawn Line
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -80,6 +80,9 @@ UINT8 R_DebugLineColor(const line_t *ld)
|
||||||
switch (ld->special)
|
switch (ld->special)
|
||||||
{
|
{
|
||||||
case 2001: // Ring Racers: Finish Line
|
case 2001: // Ring Racers: Finish Line
|
||||||
|
return alt ? 0x1F : 0x49; // black, yellow
|
||||||
|
|
||||||
|
case 2003: // Ring Racers: Respawn Line
|
||||||
return alt ? 0x23 : 0x00; // red, white
|
return alt ? 0x23 : 0x00; // red, white
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue