diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-06-06 14:24:58 +0200 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-06-06 14:24:58 +0200 |
commit | d6a1ebe4a3ff32d5d672181028b2aabe5c78ac57 (patch) | |
tree | a887cf7d033e7f2ad6a5b0a65d2d98322c145092 /src/main.cpp | |
parent | less leaks and effective-c++-compatible (diff) | |
download | threshold-master.tar.gz threshold-master.tar.bz2 threshold-master.tar.xz threshold-master.tar.zst threshold-master.zip |
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
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; |