projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Structurize the informaruin about dwarves.
[open-adventure.git]
/
misc.c
diff --git
a/misc.c
b/misc.c
index 9971cb5eb18c92bb9bfcf4b38cfc78b8570d167f..9502c8b039228e1e8e5ac790d66dae43a6772812 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-672,9
+672,9
@@
int atdwrf(loc_t where)
return at;
at = -1;
for (int i = 1; i <= NDWARVES - 1; i++) {
- if (game.d
loc[i]
== where)
+ if (game.d
warves[i].loc
== where)
return i;
- if (game.d
loc[i]
!= 0)
+ if (game.d
warves[i].loc
!= 0)
at = 0;
}
return at;