projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify some dependencies.
[open-adventure.git]
/
init.c
diff --git
a/init.c
b/init.c
index aabd1cb3f5791910b6072100415503213f342c79..715f3ef7cd31cca5e99cec2f18944100cda0f540 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-46,8
+46,7
@@
int initialise(void)
int seedval = (int)rand();
set_seed(seedval);
- assert(NDWARVES == NDWARFLOCS);
- for (int i = 1; i <= NDWARFLOCS; i++) {
+ for (int i = 1; i <= NDWARVES; i++) {
game.dwarves[i].loc = dwarflocs[i-1];
}