bsplib: Use lump file name for which write failed, not a base one

This commit is contained in:
Dmitry Tsarevich 2025-03-01 16:29:42 +03:00
parent 9543007473
commit b9f74d41af
No known key found for this signature in database
GPG key ID: 43F9C46DD0E9FDB0

View file

@ -2770,7 +2770,7 @@ void WriteLumpToFile( char *filename, int lump )
FileHandle_t lumpfile = g_pFileSystem->Open(lumppre, "wb");
if ( !lumpfile )
{
Error ("Error opening %s! (Check for write enable)\n",filename);
Error ("Error opening %s! (Check for write enable)\n", lumppre);
return;
}