Localizing variables

This commit is contained in:
NHOrus 2017-06-15 16:16:21 +03:00
parent e5f9c4fbea
commit f1f7cfd4e9
6 changed files with 37 additions and 43 deletions

2
main.c
View file

@ -176,7 +176,7 @@ static void checkhints(FILE *cmdin)
++game.hintlc[hint];
/* Come here if he's been long enough at required loc(s) for some
* unused hint. */
if (game.hintlc[hint] >= HINTS[hint][1])
if (game.hintlc[hint] >= HINTS[hint][1])
{
int i;