games/glendy: your complication had a complication (god damn it kemal)

front
cinap_lenrek 2021-04-02 22:23:40 +02:00
parent 74befadb14
commit 958b476499
1 changed files with 7 additions and 7 deletions

View File

@ -45,17 +45,17 @@ Image *won;
char *mbuttons[] = char *mbuttons[] =
{ {
"easy", "Easy",
"medium", "Medium",
"hard", "Hard",
0 0
}; };
char *rbuttons[] = char *rbuttons[] =
{ {
"new", "New",
"reset", "Reset",
"exit", "Exit",
0 0
}; };
@ -386,7 +386,7 @@ nextglenda(void)
nextdir = (nrand(++count) == 0)?dir:nextdir; nextdir = (nrand(++count) == 0)?dir:nextdir;
} }
} }
if(min <= 100) if(min < 100 || min == 999)
domove(nextdir, p.x, p.y); domove(nextdir, p.x, p.y);
else else
finished = Won; finished = Won;