aboutsummaryrefslogtreecommitdiff
path: root/petratc.c
diff options
context:
space:
mode:
authordavid <[email protected]>2026-07-25 05:05:21 -0300
committerdavid <[email protected]>2026-07-25 05:05:21 -0300
commit8d63c9dd1c6d1b78caee7aa21670185fe022d0df (patch)
treec37120e07efa864d191a9f067ffcc97f5fdb5abd /petratc.c
parent20da733459123ccb1c83e7a5689b34741711ad5c (diff)
downloadpetratc-8d63c9dd1c6d1b78caee7aa21670185fe022d0df.tar.gz
petratc-8d63c9dd1c6d1b78caee7aa21670185fe022d0df.zip
segfault if you go to negative numbers in the maze game...
Diffstat (limited to 'petratc.c')
-rw-r--r--petratc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/petratc.c b/petratc.c
index d3171cd..2cb60fb 100644
--- a/petratc.c
+++ b/petratc.c
@@ -33,9 +33,9 @@ char *funfact[] = {
Rat rat;
-//i was cleaning the code up a bit and what the fuck is this
+/*i was cleaning the code up a bit and what the fuck is this
//it's so funny Rat rat
-
+*/
void printrat(WINDOW *win){
werase(win);
@@ -101,13 +101,13 @@ int truing = 1;
case '2':
endwin();
gamemaze();
- //printf("the maze is really dark squeak...\n\n");
+ /*printf("the maze is really dark squeak...\n\n");*/
refresh();
break;
case '4':
endwin();
gamecatch();
- //printf("your rat feels cleaner!\n\n");
+ /*printf("your rat feels cleaner!\n\n");*/
refresh();
break;
case '5':
@@ -118,7 +118,7 @@ int truing = 1;
case '9': break;
case '0': truing = 0; break;
}
-// i will put those printfs where the squeaks go but i have no clue how to do that today
+/* i will put those printfs where the squeaks go but i have no clue how to do that today */
if(truing) printrat(win);
}