summaryrefslogtreecommitdiff
path: root/src/strife/f_finale.c
diff options
context:
space:
mode:
authorJames Haley2011-10-06 11:33:11 +0000
committerJames Haley2011-10-06 11:33:11 +0000
commit5fcd4dc343af24dbcfa1896936d1e8fd1c12d236 (patch)
tree6abab4ede4457afe5b1dc322f0f4259c3426f3a3 /src/strife/f_finale.c
parent6ee44d364659f1d2b4c43c2bdad276c667ae1907 (diff)
downloadchocolate-doom-5fcd4dc343af24dbcfa1896936d1e8fd1c12d236.tar.gz
chocolate-doom-5fcd4dc343af24dbcfa1896936d1e8fd1c12d236.tar.bz2
chocolate-doom-5fcd4dc343af24dbcfa1896936d1e8fd1c12d236.zip
Fix for missing finale fade-to-black bug that was driving me nuts - one
of the last known inaccuracies not related to the multiplayer code. Missing dirty rects system strikes again, basically. Subversion-branch: /branches/v2-branch Subversion-revision: 2409
Diffstat (limited to 'src/strife/f_finale.c')
-rw-r--r--src/strife/f_finale.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/strife/f_finale.c b/src/strife/f_finale.c
index 32d09021..daa41316 100644
--- a/src/strife/f_finale.c
+++ b/src/strife/f_finale.c
@@ -173,7 +173,10 @@ enum
//
void F_StartFinale (void)
{
+#if 0
+ // haleyjd 20111006: see below...
patch_t *panel;
+#endif
gameaction = ga_nothing;
gamestate = GS_FINALE;
@@ -184,8 +187,16 @@ void F_StartFinale (void)
// [STRIFE] Setup the slide show
slideshow_panel = DEH_String("PANEL0");
+ // haleyjd 20111006: These two lines of code *are* in vanilla Strife;
+ // however, there, they were completely inconsequential due to the dirty
+ // rects system. No intervening V_MarkRect call means PANEL0 was never
+ // drawn to the framebuffer. In Chocolate Strife, however, with no such
+ // system in place, this only manages to fuck up the fade-out that is
+ // supposed to happen at the beginning of all finales. So, don't do it!
+#if 0
panel = (patch_t *)W_CacheLumpName(slideshow_panel, PU_CACHE);
V_DrawPatch(0, 0, panel);
+#endif
switch(gamemap)
{