[Scummvm-cvs-logs] CVS: scummvm/sky screen.cpp,1.34,1.35

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Sun Jul 6 08:57:08 CEST 2003


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv22973

Modified Files:
	screen.cpp 
Log Message:
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.


Index: screen.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/screen.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- screen.cpp	1 Jul 2003 13:04:00 -0000	1.34
+++ screen.cpp	6 Jul 2003 15:56:13 -0000	1.35
@@ -520,7 +520,7 @@
 		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;





More information about the Scummvm-git-logs mailing list