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

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