]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/bitmap.c
fack
[16.git] / src / lib / bitmap.c
index 4f25bbd42d2454b1dd16033d6b486cee52fb3b9a..d43411699873b2fca5119cc26a7752b2466813fa 100755 (executable)
@@ -161,7 +161,7 @@ bitmapLoadPcxTiles(char *filename, word twidth, word theight) {
 \r
        /* allocate the pixel storage for the tiles */\r
        ts.data = malloc(sizeof(byte*) * ts.ntiles);\r
-       ts.data[0] = malloc(sizeof(byte) * ts.ntiles * twidth * theight);\r
+       //ts.data[0] = malloc(sizeof(byte) * ts.ntiles * twidth * theight);\r
        for(i=1; i < ts.ntiles; i++) {\r
                ts.data[i] = ts.data[i-1] + twidth * theight;\r
        }\r