summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:12:00 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:12:00 +0100
commit3a1f68c9eecb62b9ea214618eed6d7189d04b2a2 (patch)
treee839611ac7959c8956b04833a19c31ac2ff68e5d /src
parent9ea5f1e7067c8ce37a180b094a13ec5e8a576cc4 (diff)
Remove monster_lite option
We act as if it's always set.
Diffstat (limited to 'src')
-rw-r--r--src/externs.h1
-rw-r--r--src/tables.cc3
-rw-r--r--src/variable.cc2
-rw-r--r--src/xtra1.cc2
4 files changed, 1 insertions, 7 deletions
diff --git a/src/externs.h b/src/externs.h
index e55ddcd3..700da729 100644
--- a/src/externs.h
+++ b/src/externs.h
@@ -208,7 +208,6 @@ extern bool_ confirm_stairs;
extern bool_ disturb_pets;
extern bool_ view_perma_grids;
extern bool_ view_torch_grids;
-extern bool_ monster_lite;
extern bool_ flow_by_sound;
extern bool_ view_reduce_lite;
extern bool_ auto_scum;
diff --git a/src/tables.cc b/src/tables.cc
index 9d449310..2228f813 100644
--- a/src/tables.cc
+++ b/src/tables.cc
@@ -1463,9 +1463,6 @@ option_type option_info[] =
{ &view_torch_grids, FALSE, 3, 7,
"view_torch_grids", "Map remembers all torch-lit grids" },
- { &monster_lite, TRUE, 3, 19,
- "monster_lite", "Allow some monsters to carry light" },
-
{ &dungeon_align, TRUE, 3, 8,
"dungeon_align", "Generate dungeons with aligned rooms" },
diff --git a/src/variable.cc b/src/variable.cc
index 7172158d..ab941525 100644
--- a/src/variable.cc
+++ b/src/variable.cc
@@ -215,8 +215,6 @@ bool_ expand_list; /* Expand the power of the list commands */
bool_ view_perma_grids; /* Map remembers all perma-lit grids */
bool_ view_torch_grids; /* Map remembers all torch-lit grids */
-bool_ monster_lite; /* Allow some monsters to carry light */
-
bool_ dungeon_align; /* Generate dungeons with aligned rooms */
bool_ dungeon_stair; /* Generate dungeons with connected stairs */
diff --git a/src/xtra1.cc b/src/xtra1.cc
index 6ab0de8b..10e35c67 100644
--- a/src/xtra1.cc
+++ b/src/xtra1.cc
@@ -4188,7 +4188,7 @@ void update_stuff(void)
if (p_ptr->update & (PU_MON_LITE))
{
p_ptr->update &= ~(PU_MON_LITE);
- if (monster_lite) update_mon_lite();
+ update_mon_lite();
}
}