From d6a1ebe4a3ff32d5d672181028b2aabe5c78ac57 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Mon, 6 Jun 2022 14:24:58 +0200 Subject: refactor --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') 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; -- cgit v1.2.3