residualvm/residualvm — pull request #745 by klusark (2013-07-10 00:06:21+00:00)
Title: EMI: Implement setting actor sort order based on sector sort planes

This commit makes it so that all the background pieces render in front of the actors when they should, and behind when they should. The only thing I'm not happy with is that it is run every frame, but I'm not sure if there are situations later on where this may be required.