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
CPPFLAGS = -Iinclude -Isrc
CFLAGS = -Wall -pthread
LDLIBS = -lm -lpthread
CFLAGS = -Wall
LDLIBS = -lm
SRC = src
OBJ = obj

View File

@ -297,7 +297,7 @@ int main(int argc, char **argv){
bool run = true;
bool *used = (bool[6]){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){
arrows = true;
}
@ -333,7 +333,7 @@ int main(int argc, char **argv){
int last_input = time(0);
while (!kbhit()){
if (last_input + 30 <= time(0)){
if (last_input + 60 <= time(0)){
pipes_2(width, height);
last_input = time(0);
print_menu(width, height, line);