diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-02 13:43:22 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-02 13:43:22 +0000 |
commit | b76663efc3848fa64e0133a55b339f691472e217 (patch) | |
tree | cafed5a231120970545f60d3a41d2413859be3b3 /crawl-ref/source/place.cc | |
parent | d764d49f10bab7f7c52cd2bf162dce86d02d822e (diff) | |
download | crawl-ref-b76663efc3848fa64e0133a55b339f691472e217.tar.gz crawl-ref-b76663efc3848fa64e0133a55b339f691472e217.zip |
Since there's currently only one type of portal vault (labyrinths are
treated differently) change the gate description to "gateway to a
bazaar", so the bazaar description can actually be searched for.
Eventually we might like to include Labyrinths, portal vaults, the
Abyss and Pandemonium in the branch descriptions.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6334 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/place.cc')
-rw-r--r-- | crawl-ref/source/place.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/crawl-ref/source/place.cc b/crawl-ref/source/place.cc index efaf31ede9..6815095732 100644 --- a/crawl-ref/source/place.cc +++ b/crawl-ref/source/place.cc @@ -65,9 +65,8 @@ unsigned short get_packed_place() bool single_level_branch( branch_type branch ) { - return - branch >= 0 && branch < NUM_BRANCHES - && branches[branch].depth == 1; + return (branch >= 0 && branch < NUM_BRANCHES + && branches[branch].depth == 1); } std::string place_name( unsigned short place, bool long_name, @@ -103,10 +102,10 @@ std::string place_name( unsigned short place, bool long_name, result = (long_name ? branches[branch].longname : branches[branch].abbrevname); - if ( include_number && branches[branch].depth != 1 ) + if (include_number && branches[branch].depth != 1) { char buf[200]; - if ( long_name ) + if (long_name) { // decapitalize 'the' if ( result.find("The") == 0 ) |