aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-06-06 14:24:58 +0200
committersalaaad2 <arthurdurant263@gmail.com>2022-06-06 14:24:58 +0200
commitd6a1ebe4a3ff32d5d672181028b2aabe5c78ac57 (patch)
treea887cf7d033e7f2ad6a5b0a65d2d98322c145092 /src/main.cpp
parentless leaks and effective-c++-compatible (diff)
downloadthreshold-master.tar.gz
threshold-master.tar.bz2
threshold-master.tar.xz
threshold-master.tar.zst
threshold-master.zip
refactorHEADmaster
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;