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

This commit is contained in:
cinap_lenrek 2021-04-02 22:23:40 +02:00
parent 74befadb14
commit 958b476499

View file

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