]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/bitmap.c
==== animation fram walk ==== i polished the shit out of it and it works MUCH better...
[16.git] / src / lib / bitmap.c
index fba6fb05b06bc1c5982554f5c81107a551e57b2d..e8ad461c2a22bcaef0cda0d30db469ec0040385e 100755 (executable)
@@ -105,7 +105,7 @@ bitmapLoadPcx(char *filename, global_game_variables_t *gv) {
        file = fopen(filename, "rb");\r
        if(!file) {\r
                printf("Could not open %s for reading.\n", filename);\r
-               exit(-2);\r
+               //exit(-2);\r
        }\r
 \r
        /* load the first part of the pcx file */\r
@@ -129,7 +129,7 @@ bitmapLoadPcx(char *filename, global_game_variables_t *gv) {
        if(!result.data) {\r
                fprintf(stderr, "Could not allocate memory for bitmap data.");\r
                fclose(file);\r
-               exit(-1);\r
+               //exit(-1);\r
        }\r
 \r
        /*  read the buffer in */\r