More helpful error message

This commit is contained in:
Steel Titanium 2018-05-13 15:35:38 -04:00
parent 8e5ac64d7c
commit 7f084868b9

View file

@ -799,7 +799,7 @@ void HWR_InitMD2(void)
if (!f) if (!f)
{ {
CONS_Printf("%s", M_GetText("Error while loading md2.dat\n")); CONS_Printf("%s %s\n", M_GetText("Error while loading md2.dat:"), strerror(errno));
nomd2s = true; nomd2s = true;
return; return;
} }