print map name in error message

This commit is contained in:
Fabian Greffrath 2020-01-10 14:57:42 +01:00
parent 9aede18fc1
commit 170b9f2a38

View File

@ -292,7 +292,8 @@ void P_LoadNodes (int lump)
char fmt[5];
memcpy(fmt, data, 4);
fmt[4] = '\0';
I_Error("Unsupported nodes format: %s\n", fmt);
I_Error("Unsupported nodes format for %s: %s\n",
lumpinfo[lump-ML_NODES].name, fmt);
}
}