Really show Beyond Zork's title screen.
authorTimo Korvola <tkorvola@iki.fi>
Mon, 5 Mar 2018 22:02:33 +0000 (00:02 +0200)
committerDavid Griffith <dave@661.org>
Sun, 11 Mar 2018 11:48:50 +0000 (04:48 -0700)
Drawing doesn't work before RESTART_END because windows aren't
properly set up.  No, RESTART_WPROP_SET is not enough.

You'll need a blorb with the title graphics.  That is the only
resource of the game - you don't need the blorb to play.

src/sdl/sf_resource.c

index 5b37f77bdd1038a9658a6f3caabe902168f23e80..f80f5da2a38483e2d2ed7e580393706d7c4427b6 100644 (file)
@@ -383,8 +383,8 @@ void os_scrollback_erase (int erase)
  */
 void os_restart_game(int stage)
   {
-       // Show Beyond Zork's title screen
-  if ((stage == RESTART_BEGIN) && (story_id == BEYOND_ZORK))
+    // Show Beyond Zork's title screen
+    if ((stage == RESTART_END) && (story_id == BEYOND_ZORK))
        {
        int w,h;
        if (os_picture_data(1,&h,&w))