only indentation changes.

This commit is contained in:
Enno Rehling 2005-12-31 14:01:54 +00:00
parent 80186ba627
commit 40b5fa20be
1 changed files with 77 additions and 77 deletions

View File

@ -977,8 +977,8 @@ terminate(troop dt, troop at, int type, const char *damage, boolean missile)
}
ar += am;
if (type!=AT_COMBATSPELL && type!=AT_SPELL) /* Kein Zauber, normaler Waffenschaden */
{
if (type!=AT_COMBATSPELL && type!=AT_SPELL) {
/* Kein Zauber, normaler Waffenschaden */
double kritchance = (sk * 3 - sd) / 200.0;
kritchance = max(kritchance, 0.005);
kritchance = min(0.9, kritchance);
@ -1022,8 +1022,8 @@ terminate(troop dt, troop at, int type, const char *damage, boolean missile)
}
if (magic) /* Magischer Schaden durch Spruch oder magische Waffe */
{
if (magic) {
/* Magischer Schaden durch Spruch oder magische Waffe */
double res = 1.0;
/* magic_resistance gib x% Resistenzbonus zurück */