Fix "slowly to red" fading (aka same_fade) when we have a forced transition.
authorSteinar H. Gunderson <sesse@samfundet.no>
Tue, 1 Mar 2005 00:55:12 +0000 (00:55 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Tue, 1 Mar 2005 00:55:12 +0000 (00:55 +0000)
bigscreen/rotatescreen.cpp

index ef7fba0..a7d3a5c 100644 (file)
@@ -120,7 +120,7 @@ void RotateScreen::draw(unsigned char *buf)
                        // initialize a fade
                        in_fade = true;
                        fade_found_start_time = false;
-                       same_fade = (current_screen == old_current_screen);
+                       same_fade = (current_screen == old_current_screen) || force;
                        
                        memcpy(fadefrom_buf, subscreens[old_current_screen].buf, 800 * 600 * 4);