mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed a small logic error introduced by fixing the translucent particle sorting.
Due to an unintended swap of two values a few equal comparisons led to incorrect sorting.
This commit is contained in:
parent
bcc8972356
commit
bc25ad4136
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ void GLDrawList::SortSpriteIntoPlane(SortNode * head, SortNode * sort)
|
|||
head->AddToLeft(sort);
|
||||
head->AddToRight(sort2);
|
||||
}
|
||||
else if ((hiz < fh->z && !ceiling) || (loz > fh->z && ceiling)) // completely on the left side
|
||||
else if ((ss->z2<fh->z && !ceiling) || (ss->z1>fh->z && ceiling)) // completely on the left side
|
||||
{
|
||||
head->AddToLeft(sort);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue