Cleanup: Remove old FiosList helper methods. (#9139)
(cherry-picked from commit f018471b36
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
050b95e351
commit
9d72eb02f5
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user