aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 409c86e..4710b10 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -86,10 +86,10 @@ int main(void) {
CloseAudioDevice();
if (game->getNext() != "0") {
- delete game;
+ delete game;
game = new Game(next);
gs = GAMEPLAY;
- std::cout << "next level " << next << std::endl;
+ std::cout << "next level " << next << std::endl;
}
}
break;