summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-17 17:17:58 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-17 17:17:58 +0000
commit21575938a27c61b5d689277f8ea31e487f4d3437 (patch)
tree031f4e04895a0a18013622ce2f322ccf683e30bd
parentbc4b49b3bd5838b4a5e52431f136851e70f8289b (diff)
downloadcrawl-ref-21575938a27c61b5d689277f8ea31e487f4d3437.tar.gz
crawl-ref-21575938a27c61b5d689277f8ea31e487f4d3437.zip
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10693 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/describe.cc2
-rw-r--r--crawl-ref/source/mon-util.cc4
-rw-r--r--crawl-ref/source/mon-util.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index df8f20edcb..ac21088392 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -2586,7 +2586,7 @@ static std::string _monster_stat_description(const monsters& mon)
{
std::ostringstream result;
- // Don't leak or duplicate resistance information for ghosts/demons.
+ // Don't leak or duplicate resistance information for demons/ghosts.
const mon_resist_def resist =
(mon.type == MONS_PANDEMONIUM_DEMON
|| mon.type == MONS_PLAYER_GHOST ? get_mons_class_resists(mon.type)
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index c8fffebf45..2212ae0ad1 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -6267,7 +6267,7 @@ void monsters::pandemon_init()
// Don't make greased-lightning Pandemonium demons in the dungeon
// max speed = 17). Demons in Pandemonium can be up to speed 24.
if (you.level_type == LEVEL_DUNGEON)
- speed = (one_chance_in(3)? 10 : 7 + roll_dice(2, 5));
+ speed = (one_chance_in(3) ? 10 : 7 + roll_dice(2, 5));
else
speed = (one_chance_in(3) ? 10 : 10 + roll_dice(2, 7));
@@ -6276,7 +6276,7 @@ void monsters::pandemon_init()
if (you.char_direction == GDT_ASCENDING && you.level_type == LEVEL_DUNGEON)
colour = LIGHTRED;
else
- colour = random_colour(); // demon's colour
+ colour = random_colour(); // demon's colour
load_spells(MST_GHOST);
}
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h
index e36a5cd111..fd10edd123 100644
--- a/crawl-ref/source/mon-util.h
+++ b/crawl-ref/source/mon-util.h
@@ -443,7 +443,7 @@ struct monsterentry
// hp will be around 135 each time.
unsigned hpdice[4];
- char AC; // armour class
+ char AC; // armour class
char ev; // evasion
mon_spellbook_type sec;
corpse_effect_type corpse_thingy;