diff options
author | Torbjörn Andersson | 2003-07-06 15:56:13 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-07-06 15:56:13 +0000 |
commit | 7de3870c130616c98526a8ee864d61a189fa7169 (patch) | |
tree | 9b08141bca03bb17140db9ddc23ef5ff68f9a3d9 /sky | |
parent | dfdebc39ae64b3c20eed35eafd71bfad19c245ec (diff) | |
download | scummvm-rg350-7de3870c130616c98526a8ee864d61a189fa7169.tar.gz scummvm-rg350-7de3870c130616c98526a8ee864d61a189fa7169.tar.bz2 scummvm-rg350-7de3870c130616c98526a8ee864d61a189fa7169.zip |
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
Diffstat (limited to 'sky')
-rw-r--r-- | sky/screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/screen.cpp b/sky/screen.cpp index 6d96c20d61..6344949e6c 100644 --- a/sky/screen.cpp +++ b/sky/screen.cpp @@ -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; |