diff --git a/res/core/messages.xml b/res/core/messages.xml
index 932276078..dfbeecd07 100644
--- a/res/core/messages.xml
+++ b/res/core/messages.xml
@@ -2754,7 +2754,7 @@
- "$unit($unit) verdient$if($eq($mode,4)," am Handel","") in $region($region) $int($amount)$if($eq($wanted,$amount),""," statt $int($wanted)") Silber$if($eq($mode,1)," durch Unterhaltung",$if($eq($mode,2)," durch Steuern",$if($eq($mode,3)," durch Handel",$if($eq($mode,5)," durch Diebstahl",$if($eq($mode,6)," durch Zauberei",$if($eq($mode,7)," durch Pluendern","")))))."
+ "$unit($unit) verdient$if($eq($mode,4)," am Handel","") in $region($region) $int($amount)$if($eq($wanted,$amount),""," statt $int($wanted)") Silber$if($eq($mode,1)," durch Unterhaltung",$if($eq($mode,2)," durch Steuern",$if($eq($mode,3)," durch Handel",$if($eq($mode,5)," durch Diebstahl",$if($eq($mode,6)," durch Zauberei",$if($eq($mode,7)," durch Plündern",""))))))."
"$unit($unit) earns $int($amount)$if($eq($wanted,$amount),""," of $int($wanted)") in $region($region)."
"$unit($unit) earns $int($amount)$if($eq($wanted,$amount),""," of $int($wanted)") in $region($region)."
diff --git a/src/economy.c b/src/economy.c
index ab061a5f4..240b5712a 100644
--- a/src/economy.c
+++ b/src/economy.c
@@ -3444,7 +3444,6 @@ void produce(struct region *r)
request workers[MAX_WORKERS];
request *taxorders, *lootorders, *sellorders, *stealorders, *buyorders;
unit *u;
- int todo;
static int rule_autowork = -1;
bool limited = true;
request *nextworker = workers;
@@ -3484,6 +3483,7 @@ void produce(struct region *r)
for (u = r->units; u; u = u->next) {
order *ord;
bool trader = false;
+ keyword_t todo;
if (u_race(u) == get_race(RC_SPELL) || fval(u, UFL_LONGACTION))
continue;
@@ -3531,7 +3531,6 @@ void produce(struct region *r)
continue;
switch (todo) {
-
case K_ENTERTAIN:
entertain_cmd(u, u->thisorder);
break;
@@ -3571,6 +3570,9 @@ void produce(struct region *r)
case K_RESEARCH:
research_cmd(u, u->thisorder);
break;
+ default:
+ /* not handled here */
+ break;
}
}
diff --git a/src/monsters.c b/src/monsters.c
index 4136d04a6..aa9fd20f4 100644
--- a/src/monsters.c
+++ b/src/monsters.c
@@ -26,6 +26,7 @@
#include "give.h"
#include "monster.h"
#include "laws.h"
+#include "keyword.h"
/* triggers includes */
#include
@@ -173,7 +174,7 @@ static order *get_money_for_dragon(region * r, unit * u, int wanted)
/* 5% chance, dass der drache aus einer laune raus attackiert */
if (attack_chance <= 0.0 || chance(1.0 - u_race(u)->aggression)) {
/* Drachen haben in E3 und E4 keine Einnahmen. Neuer Befehl Pluendern erstmal nur fuer Monster?*/
- return create_order(K_TAX, default_locale, NULL);
+ return create_order(K_LOOT, default_locale, NULL);
}
}
@@ -866,6 +867,7 @@ void plan_monsters(faction * f)
}
if (long_order) {
addlist(&u->orders, long_order);
+// u->thisorder = long_order;
}
}
}