Apply loc_t type.
This commit is contained in:
parent
4369284c75
commit
195e6e149b
2 changed files with 2 additions and 2 deletions
2
main.c
2
main.c
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue