- 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:
Christoph Oelckers 2019-08-20 20:10:54 +02:00
commit 3cfda930ea
10 changed files with 100 additions and 106 deletions

View file

@ -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;
}