From 5b4487db03758a966137570cf90e69edc4550524 Mon Sep 17 00:00:00 2001 From: Katja Zedel Date: Sun, 17 Feb 2002 08:57:39 +0000 Subject: [PATCH] fix verkaufe alles --- src/common/gamecode/economy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/gamecode/economy.c b/src/common/gamecode/economy.c index 1318b49a0..403b72d6d 100644 --- a/src/common/gamecode/economy.c +++ b/src/common/gamecode/economy.c @@ -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) {