fix verkaufe alles

This commit is contained in:
Katja Zedel 2002-02-17 08:57:39 +00:00
parent 62a97407af
commit 5b4487db03
1 changed files with 2 additions and 1 deletions

View File

@ -241,6 +241,7 @@ expandorders(region * r, request * requests)
/* ------------------------------------------------------------- */
#if SKILLPOINTS == 0
static void
change_level(unit * u, skill_t sk, int bylevel)
{
@ -2339,7 +2340,7 @@ sell(region * r, unit * u, request ** sellorders, const char * cmd)
s = getstrtoken();
if (findparam(s, u->faction->locale) == P_ANY) {
n = (rpeasants(r) - rpeasants(r) / RECRUITFRACTION) / TRADE_FRACTION;
n = rpeasants(r) / TRADE_FRACTION;
if (rterrain(r) == T_DESERT && buildingtype_exists(r, &bt_caravan))
n *= 2;
if (n==0) {