From 82feac4ccbe57a80f48ecd315b55e65c14a21b2d Mon Sep 17 00:00:00 2001 From: Lukas Werling Date: Sun, 23 Sep 2018 23:40:02 +0200 Subject: [PATCH] Remove broken assert() --- src/script/C4AulCompiler.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/script/C4AulCompiler.cpp b/src/script/C4AulCompiler.cpp index cc974cdad..94c7a24f7 100644 --- a/src/script/C4AulCompiler.cpp +++ b/src/script/C4AulCompiler.cpp @@ -77,8 +77,6 @@ static std::string FormatCodePosition(const C4ScriptHost *source_host, const cha } if (target_host && source_host != target_host) { - assert(source_script_index != target_script_index); - if (GetScriptLinkType(source_host, target_host) == ScriptLinkType::Include) s += strprintf(" (included by %s)", target_host->ScriptName.getData()); else