Apply loc_t type.

This commit is contained in:
Eric S. Raymond 2023-04-07 08:18:50 -04:00
parent 4369284c75
commit 195e6e149b
2 changed files with 2 additions and 2 deletions

2
main.c
View file

@ -370,7 +370,7 @@ static bool dwarfmove(void)
++game.dtotal;
if (game.odloc[i] == game.dloc[i]) {
++attack;
if (game.knfloc >= 0)
if (game.knfloc >= LOC_NOWHERE)
game.knfloc = game.loc;
if (randrange(1000) < 95 * (game.dflag - 2))
++stick;