From: Mario Date: Tue, 7 Mar 2017 20:35:17 +0000 (+1000) Subject: Revert IL_REMOVE fix (breaks too much) X-Git-Tag: xonotic-v0.8.2~104 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8606de83c97b8d2d672f6db91b7aa315cbad26c8;p=xonotic%2Fxonotic-data.pk3dir.git Revert IL_REMOVE fix (breaks too much) --- diff --git a/qcsrc/lib/intrusivelist.qh b/qcsrc/lib/intrusivelist.qh index c83b2e69c..4fa49d3f3 100644 --- a/qcsrc/lib/intrusivelist.qh +++ b/qcsrc/lib/intrusivelist.qh @@ -121,7 +121,7 @@ void IL_REMOVE(IntrusiveList this, entity it) assert(this, return); .entity il_next = this.il_nextfld; .entity il_prev = this.il_prevfld; - assert(!IL_CONTAINS(this, it), return); + //assert(!IL_CONTAINS(this, it), return); entity next = it.(il_next); entity prev = it.(il_prev); entity ohead = this.il_head;