(main): Don't initialize budget priorities of unused nations; leave
that to add() like all the other initializations.
This commit is contained in:
parent
48a9ef7c04
commit
cff2deba4a
1 changed files with 0 additions and 2 deletions
|
@ -143,8 +143,6 @@ main(int argc, char *argv[])
|
||||||
putnat((&nat));
|
putnat((&nat));
|
||||||
printf("All praise to %s!\n", nat.nat_cnam);
|
printf("All praise to %s!\n", nat.nat_cnam);
|
||||||
memset(&nat, 0, sizeof(nat));
|
memset(&nat, 0, sizeof(nat));
|
||||||
for (x = 0; x < SCT_MAXDEF + 8; x++)
|
|
||||||
nat.nat_priorities[x] = -1;
|
|
||||||
for (i = 1; i < MAXNOC; i++) {
|
for (i = 1; i < MAXNOC; i++) {
|
||||||
nat.ef_type = EF_NATION;
|
nat.ef_type = EF_NATION;
|
||||||
nat.nat_cnum = i;
|
nat.nat_cnum = i;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue