summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-26 10:39:39 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-26 10:39:39 +0000
commit61cae4a761c2f72cda44ae269c7007b37a0c14a7 (patch)
treefec8ec71ca7ca6eebd9d48881bc5ee3fe27d04c1 /crawl-ref/source/acr.cc
parentd4acdf4a6a4b73607d58714a66efd372674adb56 (diff)
downloadcrawl-ref-61cae4a761c2f72cda44ae269c7007b37a0c14a7.tar.gz
crawl-ref-61cae4a761c2f72cda44ae269c7007b37a0c14a7.zip
Misc. minor cleanups. (Yes, a huge amount of them but still...)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6146 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 16ef3c95f9..3da9db5d82 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -836,11 +836,11 @@ static void _handle_wizard_command( void )
dst = trim_string(dst);
dst = replace_all(dst, " ", "_");
- if (dst == "")
+ if (dst.empty())
dst = "bazaar";
- if (find_map_by_name(dst) == -1 &&
- random_map_for_tag(dst, false) == -1)
+ if (find_map_by_name(dst) == -1
+ && random_map_for_tag(dst, false) == -1)
{
mprf("No map named '%s' or tagged '%s'.",
dst.c_str(), dst.c_str());
@@ -1646,10 +1646,10 @@ static bool _stairs_check_beheld()
{
mprf("You cannot move away from %s!",
menv[you.beheld_by[0]].name(DESC_NOCAP_THE, true).c_str());
- return true;
+ return (true);
}
- return false;
+ return (false);
}
static void _go_downstairs();