games/glendy: your complication had a complication (god damn it kemal)
parent
74befadb14
commit
958b476499
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue