Commitet pa gastar el Cppcheck
This commit is contained in:
@@ -19,12 +19,12 @@ int main(int argc, char *argv[])
|
||||
Director *director = new Director(argc, argv);
|
||||
|
||||
// Bucle principal
|
||||
const int exit = director->run();
|
||||
const auto exit = director->run();
|
||||
|
||||
// Destruye el objeto Director
|
||||
delete director;
|
||||
|
||||
const std::string endType = exit == 0 ? "keyboard" : "controller";
|
||||
const auto endType = exit == 0 ? "keyboard" : "controller";
|
||||
std::cout << "\nGame end with " << endType << std::endl;
|
||||
|
||||
return exit;
|
||||
|
||||
Reference in New Issue
Block a user