- removed all Doom specific dependencies from cmdlib.cpp/h.
This meant moving CleanseString and ParseHex elsewhere and removing the I_Error call from ScanDirectory.
This commit is contained in:
parent
38fec546a7
commit
3cfda930ea
10 changed files with 100 additions and 106 deletions
|
|
@ -1151,13 +1151,9 @@ UNSAFE_CCMD(clearnodecache)
|
|||
FString path = M_GetCachePath(false);
|
||||
path += "/";
|
||||
|
||||
try
|
||||
if (!ScanDirectory(list, path))
|
||||
{
|
||||
ScanDirectory(list, path);
|
||||
}
|
||||
catch (CRecoverableError &err)
|
||||
{
|
||||
Printf("%s\n", err.GetMessage());
|
||||
Printf("Unable to scan node cache directory %s\n", path);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue