From ec0380e683d1edd7d41322c062bba40cc0ec75a5 Mon Sep 17 00:00:00 2001 From: dobrykafe <121701317+dobrykafe@users.noreply.github.com> Date: Wed, 25 Oct 2023 21:35:26 +0200 Subject: [PATCH] fix requested changes --- CMakeLists.txt | 1 + src/tools/demo_extract_chat.cpp | 8 +------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d6b66e59c..f28de9571 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3000,6 +3000,7 @@ if(TOOLS) set(TARGET_TOOLS config_retrieve config_store + demo_extract_chat dilate map_convert_07 map_diff diff --git a/src/tools/demo_extract_chat.cpp b/src/tools/demo_extract_chat.cpp index cb5320dea..729ddcd67 100644 --- a/src/tools/demo_extract_chat.cpp +++ b/src/tools/demo_extract_chat.cpp @@ -192,12 +192,6 @@ public: 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; CDemoPlayer DemoPlayer(&DemoSnapshotDelta, false); @@ -248,4 +242,4 @@ int main(int argc, const char *argv[]) } return Process(argv[1], pStorage); -} \ No newline at end of file +}