diff --git a/source/proc_mapa.cpp b/source/proc_mapa.cpp index 5fac2f7..a3cea2c 100644 --- a/source/proc_mapa.cpp +++ b/source/proc_mapa.cpp @@ -79,6 +79,8 @@ namespace mapa fin_x = textfile::getIntValue("final"); fin_y = textfile::toInt(textfile::getNextToken()); + arounders::arrivats = arounders::eixits = arounders::morts = 0; + //int tilemap[200]; //for (int y=0; y<10; ++y) for (int x=0; x<10; ++x) fscanf(f, "%i", &tilemap[x+y*20]);