Show line number on error, also hide under devmode

This commit is contained in:
Steel Titanium 2019-02-11 16:39:58 -05:00
parent 4b8b8f90f4
commit 93bed5f40d

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;
}