Cleanup: Remove old FiosList helper methods. (#9139)

(cherry-picked from commit f018471b36)
This commit is contained in:
PeterN
2021-04-29 22:46:42 +01:00
committed by Jonathan G Rennison
parent 050b95e351
commit 9d72eb02f5
5 changed files with 30 additions and 117 deletions

View File

@@ -71,7 +71,7 @@ public:
/** Declare the file storage cache as being invalid, also clears all stored files. */
void InvalidateFileList()
{
this->Clear();
this->clear();
this->file_list_valid = false;
}
@@ -462,7 +462,7 @@ DEF_CONSOLE_CMD(ConListFiles)
}
_console_file_list.ValidateFileList(true);
for (uint i = 0; i < _console_file_list.Length(); i++) {
for (uint i = 0; i < _console_file_list.size(); i++) {
IConsolePrintF(CC_DEFAULT, "%d) %s", i, _console_file_list[i].title);
}