Remove broken assert()

master
Lukas Werling 2018-09-23 23:40:02 +02:00
parent 8aeef938fc
commit 82feac4ccb
1 changed files with 0 additions and 2 deletions

View File

@ -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