- Replace spritetypebase z with pos.Z calls and eliminate spritetypebase pos union.

This commit is contained in:
Mitchell Richters 2021-12-22 22:29:00 +11:00 committed by Christoph Oelckers
parent cecb8dc48e
commit baf78848eb
138 changed files with 1690 additions and 1693 deletions

View file

@ -608,7 +608,7 @@ void renderDrawMapView(int cposx, int cposy, int czoom, int cang)
{
auto A = *(spritetype**)a;
auto B = *(spritetype**)b;
if (A->z != B->z) return B->z - A->z;
if (A->pos.Z != B->pos.Z) return B->pos.Z - A->pos.Z;
return A->time - B->time; // ensures stable sort.
});