From 68decb58b29b54d568d6239006e0538e158f960c Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 10 May 2009 15:20:43 +0000 Subject: [PATCH] indentation only --- src/common/kernel/battle.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/common/kernel/battle.c b/src/common/kernel/battle.c index 438ee8d74..b9959a3fa 100644 --- a/src/common/kernel/battle.c +++ b/src/common/kernel/battle.c @@ -762,7 +762,8 @@ weapon_effskill(troop t, troop enemy, const weapon * w, boolean attacking, boole static const armor_type * select_armor(troop t, boolean shield) { - unsigned int type = shield?ATF_SHIELD:0; unit * u = t.fighter->unit; + unsigned int type = shield?ATF_SHIELD:0; + unit * u = t.fighter->unit; const armor * a = t.fighter->armors; int geschuetzt = 0; @@ -776,7 +777,8 @@ select_armor(troop t, boolean shield) } for (;a;a=a->next) { - if ((a->atype->flags & ATF_SHIELD)==type) { geschuetzt += a->count; + if ((a->atype->flags & ATF_SHIELD)==type) { + geschuetzt += a->count; if (geschuetzt > t.index) { /* unser Kandidat wird geschuetzt */ return a->atype;