From 0cdfba6197eca21d6c87dbc3d32b728c56dff83e Mon Sep 17 00:00:00 2001 From: zombie Date: Mon, 14 Mar 2022 00:54:37 -0400 Subject: [PATCH] got rid of gamerun bool bc bool is not in the c99 standard --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 6c9b20a..b399ffa 100644 --- a/src/main.c +++ b/src/main.c @@ -80,7 +80,7 @@ int main( int argc, char *argv[] ) { //yoinked from the internet argc is number //TODO nuke bools they arnt part of the c99 standard //here it js being stolen from curses - bool gamerun = true; + int gamerun = 1; zom_scrinit(); @@ -123,7 +123,7 @@ int main( int argc, char *argv[] ) { //yoinked from the internet argc is number break; case 'q': - gamerun = false; + gamerun = 0; break; case 't': player.x = 9;