summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 14:49:56 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 14:49:56 +0000
commit7cd6623f97a35ace8b72b9baf7966ebd4f8f3d5d (patch)
tree84852c14ba9779e54d59afb3be5165ba0d5d7999 /crawl-ref/source/player.cc
parent74937f642da3d099c47fa84bbfb83456946f8b6e (diff)
downloadcrawl-ref-7cd6623f97a35ace8b72b9baf7966ebd4f8f3d5d.tar.gz
crawl-ref-7cd6623f97a35ace8b72b9baf7966ebd4f8f3d5d.zip
Comment fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6247 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 451b22f347..21904de8d6 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6711,7 +6711,7 @@ void PlaceInfo::make_global()
void PlaceInfo::assert_validity() const
{
- // Check that level_type and branch match up
+ // Check that level_type and branch match up.
ASSERT(is_global()
|| level_type == LEVEL_DUNGEON && branch >= BRANCH_MAIN_DUNGEON
&& branch < NUM_BRANCHES
@@ -6719,7 +6719,7 @@ void PlaceInfo::assert_validity() const
&& branch == -1);
// Can't have visited a place without seeing any of its levels, and
- // visa versa.
+ // vice versa.
ASSERT(num_visits == 0 && levels_seen == 0
|| num_visits > 0 && levels_seen > 0);