- stooopider fehler in FAHRE (Neu-AW)

- Bauernmobs benennen
This commit is contained in:
Enno Rehling 2004-02-29 15:29:27 +00:00
parent d1f42fa634
commit 51614d2eb4
2 changed files with 49 additions and 47 deletions

View File

@ -1720,11 +1720,11 @@ kapitaen(region * r, ship * sh)
}
/* Segeln, Wandern, Reiten
* when this routine returns a non-zero value, movement for the region needs
* to be done again because of followers that got new MOVE orders.
* Setting FL_LONGACTION will prevent a unit from being handled more than once
* by this routine
*/
* when this routine returns a non-zero value, movement for the region needs
* to be done again because of followers that got new MOVE orders.
* Setting FL_LONGACTION will prevent a unit from being handled more than once
* by this routine
*/
static int
move(region * r, unit * u, boolean move_on_land)
{
@ -2235,7 +2235,7 @@ movement(void)
}
break;
}
if (*up==u) {
if (u->region==r) {
/* not moved, use next unit */
up = &u->next;
} else if (*up && (*up)->region!=r) {

View File

@ -4245,6 +4245,7 @@ sp_raisepeasantmob(castorder *co)
assert(rpeasants(r) >= 0);
u = createunit(r, findfaction(MONSTER_FACTION), n, new_race[RC_PEASANT]);
set_string(&u->name, "Aufgebrachte Bauern");
guard(u, GUARD_ALL);
a = a_new(&at_unitdissolve);
a->data.ca[0] = 1; /* An rpeasants(r). */
@ -4897,6 +4898,7 @@ sp_raisepeasants(castorder *co)
rsetpeasants(r, rpeasants(r) - bauern);
u2 = create_unit(r,mage->faction, bauern, new_race[RC_PEASANT], 0,"Wilder Bauernmob",mage);
set_string(&u2->name, "Erzürnte Bauern");
fset(u2, UFL_LOCKED);
fset(u2, UFL_PARTEITARNUNG);