Make option RAILWAYS disable rail infrastructure
Rail infrastructure isn't used with RAILWAYS. Disable, to make the improve command reject it.
This commit is contained in:
parent
81d80109ed
commit
c45a3bb923
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,7 @@
|
|||
#include "plane.h"
|
||||
#include "product.h"
|
||||
#include "prototypes.h"
|
||||
#include "sect.h"
|
||||
#include "ship.h"
|
||||
|
||||
static void init_mchr(void);
|
||||
|
@ -46,6 +47,8 @@ static void init_plchr(void);
|
|||
void
|
||||
global_init(void)
|
||||
{
|
||||
if (opt_RAILWAYS)
|
||||
intrchr[INT_RAIL].in_enable = 0;
|
||||
init_pchr();
|
||||
init_mchr();
|
||||
init_plchr();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue