forked from jaildesigner-jailgames/jaildoctors_dilemma
Pequeños arreglos en printf
This commit is contained in:
@@ -660,9 +660,9 @@ bool Player::checkKillingTiles()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Mata al jugador si hay colisión
|
// Mata al jugador si hay colisión
|
||||||
if (alive)
|
if (check)
|
||||||
{
|
{
|
||||||
alive = !check;
|
alive = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return check;
|
return check;
|
||||||
|
|||||||
@@ -218,7 +218,7 @@ bool Room::loadMapFile(std::string file_path)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Cierra el fichero
|
// Cierra el fichero
|
||||||
printf("Closing file %s\n", filename.c_str());
|
printf("Closing file %s\n\n", filename.c_str());
|
||||||
file.close();
|
file.close();
|
||||||
}
|
}
|
||||||
// El fichero no se puede abrir
|
// El fichero no se puede abrir
|
||||||
@@ -242,7 +242,7 @@ bool Room::loadMapTileFile(std::string file_path)
|
|||||||
if (file.good())
|
if (file.good())
|
||||||
{
|
{
|
||||||
// Procesa el fichero linea a linea
|
// Procesa el fichero linea a linea
|
||||||
printf("Reading file %s\n\n", filename.c_str());
|
printf("Reading file %s\n", filename.c_str());
|
||||||
|
|
||||||
while (std::getline(file, line))
|
while (std::getline(file, line))
|
||||||
{ // Lee el fichero linea a linea
|
{ // Lee el fichero linea a linea
|
||||||
|
|||||||
Reference in New Issue
Block a user