From 8fc217f0e3d39a2f32fba6fec35dbe3d2d9dc2a0 Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Sun, 15 Sep 2024 13:09:00 +0200 Subject: [PATCH] Corregido el texto de salida del programa --- source/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.cpp b/source/main.cpp index 60928f3..8c7eb8b 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -23,7 +23,7 @@ int main(int argc, char *argv[]) // Destruye el objeto Director delete director; - const std::string endType = exit == SECTION_OPTIONS_QUIT_NORMAL ? "to terminal" : "shutdown"; + const std::string endType = exit == 0 ? "to terminal" : "shutdown"; std::cout << "\nGame end -> " << endType << std::endl; return exit;