summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-info.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-24 10:11:53 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-24 11:05:13 +0100
commit254c2ac607c3a7add782e947f602ed6effcd3bf1 (patch)
treeb202c85b379f525c368d3a13c557bd6a84719e7d /crawl-ref/source/mon-info.cc
parent0c9cba8792edc5ef6eb52dc0a51393c169c4a6b7 (diff)
downloadcrawl-ref-254c2ac607c3a7add782e947f602ed6effcd3bf1.tar.gz
crawl-ref-254c2ac607c3a7add782e947f602ed6effcd3bf1.zip
Remove option target_zero_exp.
The same effect can now be achieved by overriding ch_target_monster. If anyone wants this, I'm happy to provide lua code.
Diffstat (limited to 'crawl-ref/source/mon-info.cc')
-rw-r--r--crawl-ref/source/mon-info.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-info.cc b/crawl-ref/source/mon-info.cc
index cb81c83710..0bc3e5c899 100644
--- a/crawl-ref/source/mon-info.cc
+++ b/crawl-ref/source/mon-info.cc
@@ -324,8 +324,7 @@ void get_monster_info(std::vector<monster_info>& mons)
for (unsigned int i = 0; i < visible.size(); i++)
{
- if (Options.target_zero_exp
- || !mons_class_flag( visible[i]->type, M_NO_EXP_GAIN )
+ if (!mons_class_flag( visible[i]->type, M_NO_EXP_GAIN )
|| visible[i]->type == MONS_KRAKEN_TENTACLE)
{
mons.push_back(monster_info(visible[i]));