- [FIX] Algunes variables no se reinicialitzaven
This commit is contained in:
@@ -79,6 +79,8 @@ namespace mapa
|
|||||||
fin_x = textfile::getIntValue("final");
|
fin_x = textfile::getIntValue("final");
|
||||||
fin_y = textfile::toInt(textfile::getNextToken());
|
fin_y = textfile::toInt(textfile::getNextToken());
|
||||||
|
|
||||||
|
arounders::arrivats = arounders::eixits = arounders::morts = 0;
|
||||||
|
|
||||||
//int tilemap[200];
|
//int tilemap[200];
|
||||||
//for (int y=0; y<10; ++y) for (int x=0; x<10; ++x) fscanf(f, "%i", &tilemap[x+y*20]);
|
//for (int y=0; y<10; ++y) for (int x=0; x<10; ++x) fscanf(f, "%i", &tilemap[x+y*20]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user