summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-08 19:28:58 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-08 19:28:58 +0000
commit9da9f88dfcd5bbbc28cd41b33bdee86f05183398 (patch)
treebeaa5cf269a5a859631d204ecd51251de758802d /crawl-ref
parentccf245885f0581c4b5f7ebe5248cf5a48b30349e (diff)
downloadcrawl-ref-9da9f88dfcd5bbbc28cd41b33bdee86f05183398.tar.gz
crawl-ref-9da9f88dfcd5bbbc28cd41b33bdee86f05183398.zip
Minor changes to net, one shoving debug information into
DEBUG_DIAGNOSTICS compile, another changing net descriptions. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2385 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/describe.cc10
-rw-r--r--crawl-ref/source/traps.cc2
2 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 1ed2e3981d..4622e7907f 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -1394,17 +1394,17 @@ static std::string describe_ammo( const item_def &item )
{
std::string how;
if (item.plus > -3)
- how = "a little";
+ how = "a little worn";
else if (item.plus > -5)
- how = "somewhat";
+ how = "slightly damaged";
else if (item.plus > -7)
- how = "very";
+ how = "damaged";
else
- how = "extremely";
+ how = "heavily frayed";
description += "It looks ";
description += how;
- description += " worn.";
+ description += ".";
}
else if (item.plus > 1)
description += "The net looks brand-new!";
diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc
index 6f66889fbe..d0e4d629a4 100644
--- a/crawl-ref/source/traps.cc
+++ b/crawl-ref/source/traps.cc
@@ -672,7 +672,7 @@ void free_self_from_net()
}
int do_what = damage_or_escape_net(mitm[net].plus);
-#ifdef DEBUG
+#ifdef DEBUG_DIAGNOSTICS
mprf(MSGCH_DIAGNOSTICS, "net.plus: %d, ATTR_HELD: %d, do_what: %d",
mitm[net].plus, you.attribute[ATTR_HELD], do_what);
#endif