summaryrefslogtreecommitdiff
path: root/src/object1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-09-14 06:03:01 +0200
committerBardur Arantsson <bardur@scientician.net>2015-09-14 17:30:47 +0200
commit47fb7807d77c92fa6e72017501d9355d780adf40 (patch)
tree8a4d73b5cedc967742b3711951b47673002b0b34 /src/object1.cc
parentf2de788fc3929f3cf05e9f3a69818393e7054dc5 (diff)
Remove TR4_ANTIMAGIC_{30,20,10} flags
They're only used for the Antimagic realm of leveling items and we might as well use ANTIMAGIC_50 there, given the rarity of the flag.
Diffstat (limited to 'src/object1.cc')
-rw-r--r--src/object1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object1.cc b/src/object1.cc
index 0f79d0ee..95cd0522 100644
--- a/src/object1.cc
+++ b/src/object1.cc
@@ -2999,7 +2999,7 @@ bool_ object_out_desc(object_type *o_ptr, FILE *fff, bool_ trim_down, bool_ wait
text_out("It prevents the space-time continuum from being disrupted. ");
}
- if ((f4 & (TR4_ANTIMAGIC_50)) || (f4 & (TR4_ANTIMAGIC_30)) || (f4 & (TR4_ANTIMAGIC_20)) || (f4 & (TR4_ANTIMAGIC_10)))
+ if (f4 & TR4_ANTIMAGIC_50)
{
text_out("It generates an antimagic field. ");
}