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 e6cb47e2f2
commit 76724c9c13
No known key found for this signature in database
GPG Key ID: 924BA411F18DFDBE
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;
}