summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-07 03:53:29 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-07 03:53:29 +0000
commit58f519a211c30d8154f816d047d693cbe4fa02dd (patch)
treef23bf6ce2a49f2946563660801d298b0a55149de /crawl-ref
parentcdac4bea67260de3c486e86429ab81086a383169 (diff)
downloadcrawl-ref-58f519a211c30d8154f816d047d693cbe4fa02dd.tar.gz
crawl-ref-58f519a211c30d8154f816d047d693cbe4fa02dd.zip
Add still more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7171 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/mon-util.cc3
-rw-r--r--crawl-ref/source/monplace.cc2
2 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index eb85db1b76..0c24e98817 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -3137,7 +3137,7 @@ bool monsters::can_drown() const
size_type monsters::body_size(int /* psize */, bool /* base */) const
{
const monsterentry *e = get_monster_data(type);
- return (e? e->size : SIZE_MEDIUM);
+ return (e ? e->size : SIZE_MEDIUM);
}
int monsters::body_weight() const
@@ -3160,6 +3160,7 @@ int monsters::body_weight() const
case MONS_SIMULACRUM_LARGE:
mclass = number;
break;
+
default:
break;
}
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc
index 6d69f360f1..250eeadd16 100644
--- a/crawl-ref/source/monplace.cc
+++ b/crawl-ref/source/monplace.cc
@@ -1177,7 +1177,7 @@ static void _define_zombie( int mid, monster_type ztype,
}
else if (cs == MONS_SIMULACRUM_SMALL || cs == MONS_SIMULACRUM_LARGE)
{
- // Simulacrum aren't tough, but you can create piles of them. -- bwr
+ // Simulacra aren't tough, but you can create piles of them. -- bwr
menv[mid].hit_points = hit_points( menv[mid].hit_dice, 1, 4 );
menv[mid].max_hit_points = menv[mid].hit_points;
menv[mid].type = ((mons_zombie_size( menv[mid].base_monster ) == Z_BIG)