diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-12-04 04:53:55 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-12-05 16:23:46 +0100 |
commit | 3cfba31e6efa38025156ee5a3a0ea006c85b5b6b (patch) | |
tree | 1a26f470e0ffac5ed8135c18886051d2f9b1632e /crawl-ref/source/mon-speak.cc | |
parent | 9d7c2e8983cbe3e913a26016327e49e9bd189ca3 (diff) | |
download | crawl-ref-3cfba31e6efa38025156ee5a3a0ea006c85b5b6b.tar.gz crawl-ref-3cfba31e6efa38025156ee5a3a0ea006c85b5b6b.zip |
Indentation fixes.
Diffstat (limited to 'crawl-ref/source/mon-speak.cc')
-rw-r--r-- | crawl-ref/source/mon-speak.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/crawl-ref/source/mon-speak.cc b/crawl-ref/source/mon-speak.cc index 4d5e3696e1..63f8233529 100644 --- a/crawl-ref/source/mon-speak.cc +++ b/crawl-ref/source/mon-speak.cc @@ -86,9 +86,9 @@ static string __try_exact_string(const vector<string> &prefixes, else if (str_to_branch(prefixes[i]) != NUM_BRANCHES || prefixes[i] == "Dungeon") { - if (ignore_branch) - continue; - branch = true; + if (ignore_branch) + continue; + branch = true; } prefix += prefixes[i]; prefix += " "; @@ -409,13 +409,13 @@ bool mons_speaks(monster* mons) if (!force_speak) { - // Invisible monster tries to remain unnoticed. Unless they're - // confused, since then they're too confused to realise they - // should stay silent, but only if the player can see them, so as - // to not have to deal with cases of speaking monsters which the - // player can't see. - if (unseen && !confused) - return false; + // Invisible monster tries to remain unnoticed. Unless they're + // confused, since then they're too confused to realise they + // should stay silent, but only if the player can see them, so as + // to not have to deal with cases of speaking monsters which the + // player can't see. + if (unseen && !confused) + return false; // Silenced monsters only "speak" 1/3 as often as non-silenced, // unless they're normally silent (S_SILENT). Use |