summaryrefslogtreecommitdiff
path: root/src/monster1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:56 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:56 +0100
commit10cae3d5dd2128db2899fe0e3cd808edec5b33b3 (patch)
tree32c23f9b2dd62a264b17a6285372f25861f4ed69 /src/monster1.cc
parentc3b0ab778853a33620e84793a3c6bdb53c9be0ab (diff)
Remove depth_in_feet option; always use level
Diffstat (limited to 'src/monster1.cc')
-rw-r--r--src/monster1.cc26
1 files changed, 6 insertions, 20 deletions
diff --git a/src/monster1.cc b/src/monster1.cc
index 9bcf9e08..81800962 100644
--- a/src/monster1.cc
+++ b/src/monster1.cc
@@ -373,31 +373,17 @@ static void roff_aux(int r_idx, int ego, int remem)
text_out(", ");
else
text_out(format("%^s ", wd_he[msex]));
- if (depth_in_feet)
+
+ text_out(format("is normally found on level ", wd_he[msex]));
+ if (dun_level < r_ptr->level) /* out of depth monster */
{
- text_out(format("is normally found at depths of ", wd_he[msex]));
- if (dun_level < r_ptr->level) /* out of depth monster */
- {
- text_out_c(TERM_L_RED, format("%d", r_ptr->level * 50));
- }
- else
- {
- text_out_c(TERM_L_GREEN, format("%d", r_ptr->level * 50));
- }
- text_out(" feet");
+ text_out_c(TERM_L_RED, format("%d", r_ptr->level));
}
else
{
- text_out(format("is normally found on level ", wd_he[msex]));
- if (dun_level < r_ptr->level) /* out of depth monster */
- {
- text_out_c(TERM_L_RED, format("%d", r_ptr->level));
- }
- else
- {
- text_out_c(TERM_L_GREEN, format("%d", r_ptr->level));
- }
+ text_out_c(TERM_L_GREEN, format("%d", r_ptr->level));
}
+
old = TRUE;
}