forked from github/server
E3 rule for dwarf castles should not be default.
This commit is contained in:
parent
e7ab2b46ad
commit
28a1e8d3cc
1 changed files with 1 additions and 1 deletions
|
@ -576,7 +576,7 @@ int bt_effsize(const building_type * btype, const building * b, int bsize)
|
|||
const construction *cons = btype->construction;
|
||||
|
||||
/* TECH DEBT: simplest thing that works for E3 dwarf/halfling faction rules */
|
||||
if (b && get_param_int(global.parameters, "rules.dwarf_castles", 1)
|
||||
if (b && get_param_int(global.parameters, "rules.dwarf_castles", 0)
|
||||
&& strcmp(btype->_name, "castle") == 0) {
|
||||
unit *u = building_owner(b);
|
||||
if (u && u->faction->race == new_race[RC_HALFLING]) {
|
||||
|
|
Loading…
Reference in a new issue