Make files set the usual nation flags for POGO
The add command sets nation flags NF_FLASH, NF_BEEP, NF_COASTWATCH, NF_SONAR, and since 4.2.6 NF_TECHLISTS. POGO is created by the files utility, which sets only NF_FLASH (since 4.2.2). Change files to match add.
This commit is contained in:
parent
5232add0f5
commit
5fd595a59a
1 changed files with 3 additions and 2 deletions
|
@ -30,7 +30,7 @@
|
|||
* Thomas Ruschak
|
||||
* Ken Stevens, 1995
|
||||
* Steve McClure, 1998
|
||||
* Markus Armbruster, 2004-2010
|
||||
* Markus Armbruster, 2004-2011
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
@ -141,7 +141,8 @@ main(int argc, char *argv[])
|
|||
nat.nat_stat = STAT_GOD;
|
||||
nat.nat_btu = 255;
|
||||
nat.nat_money = 123456789;
|
||||
nat.nat_flags |= NF_FLASH;
|
||||
nat.nat_flags =
|
||||
NF_FLASH | NF_BEEP | NF_COASTWATCH | NF_SONAR | NF_TECHLISTS;
|
||||
ef_write(EF_NATION, 0, &nat);
|
||||
printf("All praise to %s!\n", nat.nat_cnam);
|
||||
if (mkdir(teldir, S_IRWXU | S_IRWXG) < 0 && errno != EEXIST) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue