From d6cd1feb489095851fd6a258b2c1e19d3d84ce10 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 4 Nov 2015 11:59:17 +0100 Subject: [PATCH] CID 22456: 'Constant' variable guards dead code github issue #360 prayers sind ein feature, das nie fertig entwickelt wurde --- src/battle.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/battle.c b/src/battle.c index ae74077a6..2e99c60b1 100644 --- a/src/battle.c +++ b/src/battle.c @@ -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;