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

megath at users.sourceforge.net megath at users.sourceforge.net
Sat Dec 12 11:50:42 CET 2009


Revision: 46335
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46335&view=rev
Author:   megath
Date:     2009-12-12 10:50:41 +0000 (Sat, 12 Dec 2009)

Log Message:
-----------
render 'ons' after all stuff (needs to be discovered), fixed crumbs invisibility on screen with barman

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

Modified: scummvm/trunk/engines/teenagent/scene.cpp
===================================================================
--- scummvm/trunk/engines/teenagent/scene.cpp	2009-12-12 10:43:17 UTC (rev 46334)
+++ scummvm/trunk/engines/teenagent/scene.cpp	2009-12-12 10:50:41 UTC (rev 46335)
@@ -535,14 +535,6 @@
 
 		bool got_any_animation = false;
 
-		if (ons != NULL && debug_features.feature[DebugFeatures::kShowOns]) {
-			for (uint32 i = 0; i < ons_count; ++i) {
-				Surface *s = ons + i;
-				if (s != NULL)
-					s->render(surface);
-			}
-		}
-
 		for (byte i = 0; i < 4; ++i) {
 			Animation *a = custom_animation + i;
 			Surface *s = a->currentFrame();
@@ -662,6 +654,14 @@
 			}
 		}
 
+		if (ons != NULL && debug_features.feature[DebugFeatures::kShowOns]) {
+			for (uint32 i = 0; i < ons_count; ++i) {
+				Surface *s = ons + i;
+				if (s != NULL)
+					s->render(surface);
+			}
+		}
+
 		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