forked from github/server
Iron golems can now create dwarfen only items
(makes irongolems usable for dwarfs)
This commit is contained in:
parent
0400bcafad
commit
d4fdddbc27
1 changed files with 1 additions and 1 deletions
|
@ -753,7 +753,7 @@ mod_elves_only(const unit * u, const region * r, skill_t sk, int value)
|
||||||
static int
|
static int
|
||||||
mod_dwarves_only(const unit * u, const region * r, skill_t sk, int value)
|
mod_dwarves_only(const unit * u, const region * r, skill_t sk, int value)
|
||||||
{
|
{
|
||||||
if (u_race(u) == new_race[RC_DWARF])
|
if (u_race(u) == new_race[RC_DWARF] || (u_race(u)->flags & RCF_IRONGOLEM))
|
||||||
return value;
|
return value;
|
||||||
unused_arg(r);
|
unused_arg(r);
|
||||||
return -118;
|
return -118;
|
||||||
|
|
Loading…
Reference in a new issue