mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 02:01:31 +00:00
- Replace spritetypebase
z
with pos.Z
calls and eliminate spritetypebase
pos
union.
This commit is contained in:
parent
cecb8dc48e
commit
baf78848eb
138 changed files with 1690 additions and 1693 deletions
|
@ -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.
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue