From 273885dc4c34c5020262fe4c8840a1d963d3c9f5 Mon Sep 17 00:00:00 2001 From: tritonas00 Date: Thu, 16 Sep 2021 09:40:27 +0300 Subject: [PATCH] corrected filter --- source/main/resources/odef_fileformat/ODefFileFormat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main/resources/odef_fileformat/ODefFileFormat.cpp b/source/main/resources/odef_fileformat/ODefFileFormat.cpp index 779990d2b8..85698b3906 100644 --- a/source/main/resources/odef_fileformat/ODefFileFormat.cpp +++ b/source/main/resources/odef_fileformat/ODefFileFormat.cpp @@ -272,7 +272,7 @@ bool ODefParser::ProcessCurrentLine() else if (!strncmp(ev_type, "airplane", 8)) { m_ctx.cbox_event_filter = EVENT_AIRPLANE; } else if (!strncmp(ev_type, "boat", 4)) { m_ctx.cbox_event_filter = EVENT_BOAT; } else if (!strncmp(ev_type, "delete", 6)) { m_ctx.cbox_event_filter = EVENT_DELETE; } - else { m_ctx.cbox_event_filter = EVENT_NONE; } + else { m_ctx.cbox_event_filter = EVENT_ALL; } // hack to avoid fps drops near spawnzones if (!strncmp(ev_name, "spawnzone", 9)) { m_ctx.cbox_event_filter = EVENT_AVATAR; }