forked from github/server
CID 22456: 'Constant' variable guards dead code
github issue #360 prayers sind ein feature, das nie fertig entwickelt wurde
This commit is contained in:
parent
978dd1400f
commit
d6cd1feb48
|
@ -3247,7 +3247,6 @@ fighter *make_fighter(battle * b, unit * u, side * s1, bool attack)
|
|||
int berserk;
|
||||
int strongmen;
|
||||
int speeded = 0, speed = 1;
|
||||
bool pr_aid = false;
|
||||
int rest;
|
||||
const group *g = NULL;
|
||||
const attrib *a = a_find(u->attribs, &at_otherfaction);
|
||||
|
@ -3348,14 +3347,6 @@ fighter *make_fighter(battle * b, unit * u, side * s1, bool attack)
|
|||
if (i < berserk) {
|
||||
fig->person[i].attack++;
|
||||
}
|
||||
/* Leute mit einem Aid-Prayer bekommen +1 auf fast alles. */
|
||||
if (pr_aid) {
|
||||
fig->person[i].attack++;
|
||||
fig->person[i].defence++;
|
||||
fig->person[i].damage++;
|
||||
fig->person[i].damage_rear++;
|
||||
fig->person[i].flags |= FL_COURAGE;
|
||||
}
|
||||
/* Leute mit Kraftzauber machen +2 Schaden im Nahkampf. */
|
||||
if (i < strongmen) {
|
||||
fig->person[i].damage += 2;
|
||||
|
|
Loading…
Reference in New Issue