Remove incomplete and wrong code preventing blorbs from loading.
authorDavid Griffith <dave@661.org>
Wed, 30 Jan 2019 12:30:51 +0000 (04:30 -0800)
committerDavid Griffith <dave@661.org>
Wed, 30 Jan 2019 12:30:51 +0000 (04:30 -0800)
This was the remains of an attempt to determine if there is an executable
chunk in the blorb file and if so, what kind.

src/curses/ux_blorb.c

index 1010124fb69881be6aeebfb70ef2f5ce3e256693..c9aafc74f99c479adbb76e8707b71a8827378070 100644 (file)
@@ -127,12 +127,6 @@ bb_err_t ux_blorb_init(char *filename)
      * location so os_load_story() can find it.
      */
     if (f_setup.exec_in_blorb) {
-       blorb_err = bb_load_chunk_by_type(blorb_map, bb_method_FilePos,
-                &blorb_res, bb_ID_Exec, 0);
-
-       printf("blorb_err %d\n", blorb_err);
-       exit(2);
-
        blorb_err = bb_load_chunk_by_type(blorb_map, bb_method_FilePos,
                &blorb_res, bb_ID_ZCOD, 0);
        f_setup.exec_in_blorb = 1;