Skip to content

Commit 688c514

Browse files
committed
Actually dump opened files to log file
1 parent e47884e commit 688c514

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

code/cfile/cfile.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,7 @@ int cfget_cfile_block()
879879

880880
// Dump a list of all opened files
881881
mprintf(("Out of cfile blocks! Currently opened files:\n"));
882+
dump_opened_files();
882883

883884
Assertion(false, "There are no more free cfile blocks. This means that there are too many files opened by FSO.\n"
884885
"This is probably caused by a programming or scripting error where a file does not get closed."); // out of free cfile blocks

0 commit comments

Comments
 (0)