X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fmaptest.c;h=7649898eb94910c7ad7377811bdab33ecef51f68;hb=fa252ebd82649e4f3bab4a53228828766713ad6c;hp=b77b5e55ff581c2f6bc53db4648ee33ff9a48271;hpb=631d2bde47de81ead5300f7aca378447387f254c;p=16.git diff --git a/src/maptest.c b/src/maptest.c index b77b5e55..7649898e 100755 --- a/src/maptest.c +++ b/src/maptest.c @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover + * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * * This file is part of Project 16. * @@ -47,7 +47,7 @@ main(int argc, char *argv[]) if(map.width*map.height != 1200) exit(-3); for(i=0; i<(map.width*map.height); i++) { - fprintf(stdout, "%04d[%02d]", i, map.data[0][i]); + fprintf(stdout, "%04d[%02d]", i, map.data[i]); if(i && !(i%map.width)) fprintf(stdout, "\n"); } fprintf(stdout, "\n");