]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Revert IL_REMOVE fix (breaks too much)
authorMario <mario@smbclan.net>
Tue, 7 Mar 2017 20:35:17 +0000 (06:35 +1000)
committerMario <mario@smbclan.net>
Tue, 7 Mar 2017 20:35:17 +0000 (06:35 +1000)
qcsrc/lib/intrusivelist.qh

index c83b2e69c7e0e71908be3e075e2b9506d06447f7..4fa49d3f3bfef7bc41035a9bb56e35cf1db755a4 100644 (file)
@@ -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;