]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/bitmap.c
Revert "too tired to continue"
[16.git] / src / lib / bitmap.c
index fba6fb05b06bc1c5982554f5c81107a551e57b2d..22bad98103086b9a36e7a7af57c700f448aebcd7 100755 (executable)
@@ -1,5 +1,5 @@
 /* Project 16 Source Code~\r
- * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
  *\r
  * This file is part of Project 16.\r
  *\r
@@ -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