🔥 Remove old file check
This commit is contained in:
parent
d7a74ebb94
commit
1a633ec925
|
@ -466,8 +466,7 @@ char *CPluginMngr::ReadIntoOrFromCache(const char *file, size_t &bufsize)
|
||||||
|
|
||||||
pl->file = new CAmxxReader(file, sizeof(cell));
|
pl->file = new CAmxxReader(file, sizeof(cell));
|
||||||
pl->buffer = NULL;
|
pl->buffer = NULL;
|
||||||
if (pl->file->GetStatus() != CAmxxReader::Err_None ||
|
if (pl->file->GetStatus() != CAmxxReader::Err_None)
|
||||||
pl->file->IsOldFile())
|
|
||||||
{
|
{
|
||||||
delete pl->file;
|
delete pl->file;
|
||||||
delete pl;
|
delete pl;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user