disble easter eggs

main erste-version
MuedeHydra 2024-12-21 14:07:28 +01:00
parent f84eff9aa5
commit 6ce134acd1
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
CC = gcc CC = gcc
CPPFLAGS = -Iinclude -Isrc CPPFLAGS = -Iinclude -Isrc
CFLAGS = -Wall -pthread CFLAGS = -Wall
LDLIBS = -lm -lpthread LDLIBS = -lm
SRC = src SRC = src
OBJ = obj OBJ = obj

View File

@ -297,7 +297,7 @@ int main(int argc, char **argv){
bool run = true; bool run = true;
bool *used = (bool[6]){0}; bool *used = (bool[6]){0};
int start_time = time(0); int start_time = time(0);
bool arrows = false; bool arrows = true;
if (argc >= 2 && strcmp(argv[1], "--ich-benutze-windows-und-bin-auf-die-pfeiltasten-angewiesen") == 0){ if (argc >= 2 && strcmp(argv[1], "--ich-benutze-windows-und-bin-auf-die-pfeiltasten-angewiesen") == 0){
arrows = true; arrows = true;
} }
@ -333,7 +333,7 @@ int main(int argc, char **argv){
int last_input = time(0); int last_input = time(0);
while (!kbhit()){ while (!kbhit()){
if (last_input + 30 <= time(0)){ if (last_input + 60 <= time(0)){
pipes_2(width, height); pipes_2(width, height);
last_input = time(0); last_input = time(0);
print_menu(width, height, line); print_menu(width, height, line);