Replaced placeholder texture file name

This commit is contained in:
_ 2018-04-05 15:16:07 -07:00
parent aec8b64fd6
commit dce4180d5d

View File

@ -131,7 +131,7 @@ void unpacktextures(const char *filedata,
unsigned int i; unsigned int i;
for (i = 0; i < texturecount; i++) { for (i = 0; i < texturecount; i++) {
texsize = descripts[i/(tp -> batchNumber)] -> textureSize; texsize = descripts[i/(tp -> batchNumber)] -> textureSize;
sprintf(fmt, "test_%d.dds", i); sprintf(fmt, "%s_%d.dds", filename, i);
write(fmt, i, filedata + tloc[i], texsize); write(fmt, i, filedata + tloc[i], texsize);
} }
free(fmt); free(fmt);