aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-04 15:02:05 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-04 15:02:05 +0100
commit418452ccc933dc66609d98d5efd5e753f02f0211 (patch)
treea585565e71f9af187009d6dd549c9b35afc9f199 /src/main.cpp
parentstart menu and retry (diff)
downloadthreshold-418452ccc933dc66609d98d5efd5e753f02f0211.tar.gz
threshold-418452ccc933dc66609d98d5efd5e753f02f0211.tar.bz2
threshold-418452ccc933dc66609d98d5efd5e753f02f0211.tar.xz
threshold-418452ccc933dc66609d98d5efd5e753f02f0211.tar.zst
threshold-418452ccc933dc66609d98d5efd5e753f02f0211.zip
release v0.0.1
Diffstat (limited to '')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 0912639..b4525c2 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -40,6 +40,8 @@ int main(void) {
if (IsKeyPressed(KEY_ENTER))
{
gs = TITLE;
+ delete game;
+ game = new Game;
}
break ;
}