fix requested changes

This commit is contained in:
dobrykafe 2023-10-25 21:35:26 +02:00
parent 579005b98a
commit ec0380e683
2 changed files with 2 additions and 7 deletions

View file

@ -3000,6 +3000,7 @@ if(TOOLS)
set(TARGET_TOOLS set(TARGET_TOOLS
config_retrieve config_retrieve
config_store config_store
demo_extract_chat
dilate dilate
map_convert_07 map_convert_07
map_diff map_diff

View file

@ -192,12 +192,6 @@ public:
int Process(const char *pDemoFilePath, IStorage *pStorage) int Process(const char *pDemoFilePath, IStorage *pStorage)
{ {
if(!pStorage->FileExists(pDemoFilePath, IStorage::TYPE_ALL_OR_ABSOLUTE))
{
dbg_msg(TOOL_NAME, "Demo file '%s' doesn't exist", pDemoFilePath);
return -1;
}
CSnapshotDelta DemoSnapshotDelta; CSnapshotDelta DemoSnapshotDelta;
CDemoPlayer DemoPlayer(&DemoSnapshotDelta, false); CDemoPlayer DemoPlayer(&DemoSnapshotDelta, false);
@ -248,4 +242,4 @@ int main(int argc, const char *argv[])
} }
return Process(argv[1], pStorage); return Process(argv[1], pStorage);
} }