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
312c4234b0
commit
23cb7b7fa1
2 changed files with 8 additions and 3 deletions
|
|
@ -423,11 +423,13 @@ boolean R_IsEmptyLine(seg_t *line, sector_t *front, sector_t *back)
|
|||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -77,6 +77,9 @@ UINT8 R_DebugLineColor(const line_t *ld)
|
|||
switch (ld->special)
|
||||
{
|
||||
case 2001: // Ring Racers: Finish Line
|
||||
return alt ? 0x1F : 0x49; // black, yellow
|
||||
|
||||
case 2003: // Ring Racers: Respawn Line
|
||||
return alt ? 0x23 : 0x00; // red, white
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue