This patch fixes an assertion that fires on game teardown concerning objects that are still contained in a sector list. Since I haven't put much effort into understanding the sectors, I'd prefer some second opinion.
Attachment: e02b3356d175.diff (643B)
I think one correct solution would be to make C4ObjectList::Remove virtual. Or simply restore the code duplication I removed in f3f88657ca29 (Move Game.Objects to ::Objects), but with a comment as to why it's needed, so that I don't mess up again ;-)
Apparently Sven2 does not agree: http://hg.openclonk.org/openclonk/rev/f03ae0e1ee8f
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill