forked from github/server
remove an obsolete always-true constant
This commit is contained in:
parent
37f3c02ceb
commit
57ae21a823
|
@ -1242,12 +1242,10 @@ static void create_potion(unit * u, const potion_type * ptype, int want)
|
|||
void make_item(unit * u, const item_type * itype, int want)
|
||||
{
|
||||
if (itype->construction && fval(itype->rtype, RTF_LIMITED)) {
|
||||
#if GUARD_DISABLES_PRODUCTION == 1
|
||||
if (is_guarded(u->region, u)) {
|
||||
cmistake(u, u->thisorder, 70, MSG_EVENT);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
allocate_resource(u, itype->rtype, want);
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#define ENTERTAINFRACTION 20
|
||||
#define TEACHDIFFERENCE 2
|
||||
#define GUARD_DISABLES_RECRUIT 1
|
||||
#define GUARD_DISABLES_PRODUCTION 1
|
||||
#define RESOURCE_QUANTITY 0.5
|
||||
#define RECRUITFRACTION 40 /* 100/RECRUITFRACTION% */
|
||||
#define COMBAT_TURNS 5
|
||||
|
|
Loading…
Reference in New Issue