[Scummvm-cvs-logs] SF.net SVN: scummvm:[46336] scummvm/trunk/engines/teenagent/scene.cpp
megath at users.sourceforge.net
megath at users.sourceforge.net
Sat Dec 12 11:57:38 CET 2009
Revision: 46336
http://scummvm.svn.sourceforge.net/scummvm/?rev=46336&view=rev
Author: megath
Date: 2009-12-12 10:57:38 +0000 (Sat, 12 Dec 2009)
Log Message:
-----------
reverted the latest patch
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:50:41 UTC (rev 46335)
+++ scummvm/trunk/engines/teenagent/scene.cpp 2009-12-12 10:57:38 UTC (rev 46336)
@@ -535,6 +535,14 @@
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();
@@ -654,14 +662,6 @@
}
}
- 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