forked from github/server
- stooopider fehler in FAHRE (Neu-AW)
- Bauernmobs benennen
This commit is contained in:
parent
d1f42fa634
commit
51614d2eb4
|
@ -1720,11 +1720,11 @@ kapitaen(region * r, ship * sh)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Segeln, Wandern, Reiten
|
/* Segeln, Wandern, Reiten
|
||||||
* when this routine returns a non-zero value, movement for the region needs
|
* 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.
|
* 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
|
* Setting FL_LONGACTION will prevent a unit from being handled more than once
|
||||||
* by this routine
|
* by this routine
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
move(region * r, unit * u, boolean move_on_land)
|
move(region * r, unit * u, boolean move_on_land)
|
||||||
{
|
{
|
||||||
|
@ -2235,7 +2235,7 @@ movement(void)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (*up==u) {
|
if (u->region==r) {
|
||||||
/* not moved, use next unit */
|
/* not moved, use next unit */
|
||||||
up = &u->next;
|
up = &u->next;
|
||||||
} else if (*up && (*up)->region!=r) {
|
} else if (*up && (*up)->region!=r) {
|
||||||
|
|
|
@ -4245,6 +4245,7 @@ sp_raisepeasantmob(castorder *co)
|
||||||
assert(rpeasants(r) >= 0);
|
assert(rpeasants(r) >= 0);
|
||||||
|
|
||||||
u = createunit(r, findfaction(MONSTER_FACTION), n, new_race[RC_PEASANT]);
|
u = createunit(r, findfaction(MONSTER_FACTION), n, new_race[RC_PEASANT]);
|
||||||
|
set_string(&u->name, "Aufgebrachte Bauern");
|
||||||
guard(u, GUARD_ALL);
|
guard(u, GUARD_ALL);
|
||||||
a = a_new(&at_unitdissolve);
|
a = a_new(&at_unitdissolve);
|
||||||
a->data.ca[0] = 1; /* An rpeasants(r). */
|
a->data.ca[0] = 1; /* An rpeasants(r). */
|
||||||
|
@ -4897,6 +4898,7 @@ sp_raisepeasants(castorder *co)
|
||||||
rsetpeasants(r, rpeasants(r) - bauern);
|
rsetpeasants(r, rpeasants(r) - bauern);
|
||||||
|
|
||||||
u2 = create_unit(r,mage->faction, bauern, new_race[RC_PEASANT], 0,"Wilder Bauernmob",mage);
|
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_LOCKED);
|
||||||
fset(u2, UFL_PARTEITARNUNG);
|
fset(u2, UFL_PARTEITARNUNG);
|
||||||
|
|
Loading…
Reference in New Issue