From e94e750ca199f2dbd5edb80b1aff2e20161126ea Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Sat, 27 Aug 2022 14:35:51 +0200 Subject: [PATCH] Modificados algunos printf --- source/animatedsprite.cpp | 2 +- source/map.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/animatedsprite.cpp b/source/animatedsprite.cpp index 6e27055..d433e0d 100644 --- a/source/animatedsprite.cpp +++ b/source/animatedsprite.cpp @@ -224,7 +224,7 @@ bool AnimatedSprite::load(std::string filePath) } // Cierra el fichero - printf("Closing file %s\n", filename.c_str()); + printf("Closing file %s\n\n", filename.c_str()); file.close(); } // El fichero no se puede abrir diff --git a/source/map.cpp b/source/map.cpp index 379c550..faa7eb6 100644 --- a/source/map.cpp +++ b/source/map.cpp @@ -135,7 +135,7 @@ bool Map::load(std::string file_path) } while (line != "[/moving platform]"); - printf("** actor moving platform loaded\n"); + printf("** actor moving platform loaded\n\n"); actors.push_back(new ActorMovingPlatform(actor, p1, p2)); } @@ -165,7 +165,7 @@ bool Map::load(std::string file_path) } while (line != "[/diamond]"); - printf("** actor diamond loaded\n"); + printf("** actor diamond loaded\n\n"); actors.push_back(new ActorDiamond(actor)); } @@ -207,7 +207,7 @@ bool Map::load(std::string file_path) } // Cierra el fichero - printf("Closing file %s\n", filename.c_str()); + printf("Closing file %s\n\n", filename.c_str()); file.close(); } // El fichero no se puede abrir