summaryrefslogtreecommitdiff
path: root/src/object1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-10-16 12:28:53 +0200
committerBardur Arantsson <bardur@scientician.net>2016-10-16 12:28:53 +0200
commit54bd76ebab55ed5e090407747e6c7af402acf82b (patch)
tree0004d7a3049ccdd4f7aa9863bbdb5eb020e6d2a8 /src/object1.cc
parent5144951fc78046fb91445c1ffb2b9a157b59f488 (diff)
Remove TR_SEARCH object flag
Since the removal of traps its only effect was diluting the list of flags "available" for randarts and sentient items.
Diffstat (limited to 'src/object1.cc')
-rw-r--r--src/object1.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/object1.cc b/src/object1.cc
index 1eb9b484..ad82f20f 100644
--- a/src/object1.cc
+++ b/src/object1.cc
@@ -1950,12 +1950,6 @@ static std::string object_desc_aux(object_type const *o_ptr, int pref, int mode)
t += " to stealth";
}
- /* Search */
- else if (flags & TR_SEARCH)
- {
- t += " to searching";
- }
-
/* Infravision */
else if (flags & TR_INFRA)
{
@@ -2667,7 +2661,6 @@ bool_ object_out_desc(object_type *o_ptr, FILE *fff, bool_ trim_down, bool_ wait
if (flags & TR_DEX) vp[vn++] = "dexterity";
if (flags & TR_CON) vp[vn++] = "constitution";
if (flags & TR_CHR) vp[vn++] = "charisma";
- if (flags & TR_SEARCH) vp[vn++] = "searching";
if (flags & TR_INFRA) vp[vn++] = "infravision";
if (flags & TR_TUNNEL) vp[vn++] = "ability to tunnel";
if (flags & TR_SPEED) vp[vn++] = "speed";