summaryrefslogtreecommitdiff
path: root/src/xtra1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
commitb06b5ca24b7a48bfa0fba6ba0032262e4e52b569 (patch)
tree42e72b72c9c03f87d97f47c8710fb27548e8fb4e /src/xtra1.cc
parentcbcc1ba9ddafd8c2480e1c647d4b7b5f630bb63e (diff)
Remove effectively unused player_type::oppose_* fields
Diffstat (limited to 'src/xtra1.cc')
-rw-r--r--src/xtra1.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/xtra1.cc b/src/xtra1.cc
index ae37bd90..c7fd9213 100644
--- a/src/xtra1.cc
+++ b/src/xtra1.cc
@@ -3409,13 +3409,6 @@ void calc_bonuses(bool_ silent)
p_ptr->fly = TRUE;
}
- /* Oppose Light & Dark */
- if (p_ptr->oppose_ld)
- {
- p_ptr->resist_lite = TRUE;
- p_ptr->resist_dark = TRUE;
- }
-
/* Oppose Chaos & Confusion */
if (p_ptr->oppose_cc)
{
@@ -3423,19 +3416,6 @@ void calc_bonuses(bool_ silent)
p_ptr->resist_conf = TRUE;
}
- /* Oppose Sound & Shards */
- if (p_ptr->oppose_ss)
- {
- p_ptr->resist_sound = TRUE;
- p_ptr->resist_shard = TRUE;
- }
-
- /* Oppose Nexus */
- if (p_ptr->oppose_nex)
- {
- p_ptr->resist_nexus = TRUE;
- }
-
/* Temporary "fast" */
if (p_ptr->fast)
{