From 51e72669112fe69e9e2c42cb42dc13af80efb35a Mon Sep 17 00:00:00 2001 From: lily Date: Mon, 6 Oct 2025 06:58:41 +1100 Subject: [PATCH] Actually add the bool check this time --- src/agg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agg.c b/src/agg.c index 9059309..62cd678 100644 --- a/src/agg.c +++ b/src/agg.c @@ -59,7 +59,7 @@ int main(void) { printf ("Hello %s!\nThis is a game written for AgnoxGD.\nWould you like to see a tutorial\nType 1 for no, or 0 for yes.\n", username); scanf("%s", input); - if (isvalidnumber(input)) { + if (isbool(input)) { sscanf(input, "%d", &tempInput); tutorial = tempInput; } else { @@ -75,7 +75,7 @@ int main(void) { printf ("\nWould you like your accuracy as a float or as an int? Type 0 for float or 1 for int.\n"); scanf ("%s", input); - if (isvalidnumber(input)) { + if (isbool(input)) { sscanf(input, "%d", &accuracytype); } else { printf ("Error! An invalid character was entered.\n");