mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-26 06:20:16 -04:00
print map name in error message
This commit is contained in:
parent
9aede18fc1
commit
170b9f2a38
@ -292,7 +292,8 @@ void P_LoadNodes (int lump)
|
|||||||
char fmt[5];
|
char fmt[5];
|
||||||
memcpy(fmt, data, 4);
|
memcpy(fmt, data, 4);
|
||||||
fmt[4] = '\0';
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user