[Scummvm-cvs-logs] SF.net SVN: scummvm:[45789] scummvm/trunk/engines/teenagent/scene.cpp

megath at users.sourceforge.net megath at users.sourceforge.net
Tue Nov 10 00:22:10 CET 2009


Revision: 45789
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45789&view=rev
Author:   megath
Date:     2009-11-09 23:22:10 +0000 (Mon, 09 Nov 2009)

Log Message:
-----------
fixed rendering order again

Modified Paths:
--------------
    scummvm/trunk/engines/teenagent/scene.cpp

Modified: scummvm/trunk/engines/teenagent/scene.cpp
===================================================================
--- scummvm/trunk/engines/teenagent/scene.cpp	2009-11-09 23:11:00 UTC (rev 45788)
+++ scummvm/trunk/engines/teenagent/scene.cpp	2009-11-09 23:22:10 UTC (rev 45789)
@@ -383,12 +383,6 @@
 
 		Graphics::Surface *surface = system->lockScreen();
 
-		//render on
-		if (on.pixels != NULL) {
-			if (_id != 16 || getOns(16)[0] != 0) {
-				on.render(surface); //do not render boat on isle. I double checked all callbacks, there's no code switching off the boat :(
-			}
-		}
 
 		if (ons != NULL) {
 			for (uint32 i = 0; i < ons_count; ++i) {
@@ -501,7 +495,14 @@
 			}
 		}
 
+		//render on
+		if (on.pixels != NULL) {
+			if (_id != 16 || getOns(16)[0] != 0) {
+				on.render(surface); //do not render boat on isle. I double checked all callbacks, there's no code switching off the boat :(
+			}
+		}
 
+
 		if (!message.empty()) {
 			bool visible = true;
 			if (message_first_frame != 0 && message_animation != NULL) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list