mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 02:01:31 +00:00
- fixed sprting of non-translucent sprites.
This commit is contained in:
parent
fe0581ed97
commit
415dc5246d
9 changed files with 8 additions and 12 deletions
|
@ -608,7 +608,7 @@ void renderDrawMapView(int cposx, int cposy, int czoom, int cang)
|
|||
auto A = *(DCoreActor**)a;
|
||||
auto B = *(DCoreActor**)b;
|
||||
if (A->spr.pos.Z != B->spr.pos.Z) return B->spr.pos.Z - A->spr.pos.Z;
|
||||
return A->spr.time - B->spr.time; // ensures stable sort.
|
||||
return A->time - B->time; // ensures stable sort.
|
||||
});
|
||||
|
||||
vertices.Resize(4);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue