projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Apply loc_t type.
[open-adventure.git]
/
main.c
diff --git
a/main.c
b/main.c
index cdc83bafddeb15d090ff9ecd5a62c8c2e270316b..e3e6a96dc29f3e4ea87a5f0636972cf2887cddb7 100644
(file)
--- a/
main.c
+++ b/
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;