mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 02:44:56 +00:00
This fixes the drawing order of the pillow and magazine in Reich's
apartment. Look out for regressions, though I haven't seen any yet myself. svn-id: r8804
This commit is contained in:
parent
dfdebc39ae
commit
7de3870c13
@ -520,7 +520,7 @@ void SkyScreen::sortSprites(void) {
|
||||
if (spriteCnt > 1) { // bubble sort
|
||||
for (uint32 cnt1 = 0; cnt1 < spriteCnt - 1; cnt1++)
|
||||
for (uint32 cnt2 = cnt1 + 1; cnt2 < spriteCnt; cnt2++)
|
||||
if (sortList[cnt1].yCood >= sortList[cnt2].yCood) {
|
||||
if (sortList[cnt1].yCood > sortList[cnt2].yCood) {
|
||||
StSortList tmp;
|
||||
tmp.yCood = sortList[cnt1].yCood;
|
||||
tmp.sprite = sortList[cnt1].sprite;
|
||||
|
Loading…
x
Reference in New Issue
Block a user