]> 4ch.mooo.com Git - 16.git/blobdiff - src/maptest.c
====----==== this is a messed up build that contains a busted 0.exe pan page system
[16.git] / src / maptest.c
index b77b5e55ff581c2f6bc53db4648ee33ff9a48271..7649898eb94910c7ad7377811bdab33ecef51f68 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
@@ -47,7 +47,7 @@ main(int argc, char *argv[])
        if(map.width*map.height != 1200) exit(-3);\r
        for(i=0; i<(map.width*map.height); i++)\r
        {\r
-               fprintf(stdout, "%04d[%02d]", i, map.data[0][i]);\r
+               fprintf(stdout, "%04d[%02d]", i, map.data[i]);\r
                if(i && !(i%map.width)) fprintf(stdout, "\n");\r
        }\r
        fprintf(stdout, "\n");\r