Monsters should LOOT if the rules don't allow TAX.

This commit is contained in:
Enno Rehling 2014-12-20 21:37:06 +01:00
parent b3bec13051
commit f6f193ab76
1 changed files with 2 additions and 1 deletions

View File

@ -199,7 +199,8 @@ static order *get_money_for_dragon(region * r, unit * u, int wanted)
/* falls die einnahmen erreicht werden, bleibt das monster noch eine */
/* runde hier. */
if (n + rmoney(r) >= wanted) {
return create_order(K_TAX, default_locale, NULL);
keyword_t kwd = keyword_disabled(K_TAX) ? K_LOOT : K_TAX;
return create_order(kwd, default_locale, NULL);
}
/* wenn wir NULL zurueckliefern, macht der drache was anderes, z.b. weggehen */