diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-12-04 04:19:17 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-12-04 14:01:15 +0100 |
commit | 874b35f8dc77d710a94c1750d31d2bf27097f9e2 (patch) | |
tree | 39b4b3c88f5b91d8f0c3751d82adf4d2bc06e906 /crawl-ref/source/godwrath.cc | |
parent | 8f5ef8ea80c80ccec145a0327ab186904e28b482 (diff) | |
download | crawl-ref-874b35f8dc77d710a94c1750d31d2bf27097f9e2.tar.gz crawl-ref-874b35f8dc77d710a94c1750d31d2bf27097f9e2.zip |
Indentation fixes.
Diffstat (limited to 'crawl-ref/source/godwrath.cc')
-rw-r--r-- | crawl-ref/source/godwrath.cc | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/crawl-ref/source/godwrath.cc b/crawl-ref/source/godwrath.cc index d6734fb53e..2aa6c5a81d 100644 --- a/crawl-ref/source/godwrath.cc +++ b/crawl-ref/source/godwrath.cc @@ -948,29 +948,29 @@ static bool _jiyva_retribution() } else if (!one_chance_in(3)) { - god_speaks(god, "Mutagenic energy floods into your body!"); - contaminate_player(random2(you.penance[GOD_JIYVA] * 500)); + god_speaks(god, "Mutagenic energy floods into your body!"); + contaminate_player(random2(you.penance[GOD_JIYVA] * 500)); - if (coinflip()) - { - transformation_type form = TRAN_NONE; - - switch (random2(3)) - { - case 0: - form = TRAN_BAT; - break; - case 1: - form = TRAN_STATUE; - break; - case 2: - form = TRAN_SPIDER; - break; - } + if (coinflip()) + { + transformation_type form = TRAN_NONE; - if (transform(random2(you.penance[GOD_JIYVA]) * 2, form, true)) - you.transform_uncancellable = true; + switch (random2(3)) + { + case 0: + form = TRAN_BAT; + break; + case 1: + form = TRAN_STATUE; + break; + case 2: + form = TRAN_SPIDER; + break; } + + if (transform(random2(you.penance[GOD_JIYVA]) * 2, form, true)) + you.transform_uncancellable = true; + } } else { |