Merge branch 'hide-error-devmode' into 'next'

Show line number on error, also hide under devmode

See merge request STJr/SRB2!458
This commit is contained in:
Alam Ed Arias 2019-02-21 23:05:09 -05:00
commit e36193e44e
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ void P_SpawnSlope_Line(int linenum)
if(!line->frontsector || !line->backsector)
{
CONS_Printf("P_SpawnSlope_Line used on a line without two sides.\n");
CONS_Debug(DBG_SETUP, "P_SpawnSlope_Line used on a line without two sides. (line number %i)\n", linenum);
return;
}