summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/exclude.cc
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-10-29 06:28:55 -0700
committerMatthew Cline <zelgadis@sourceforge.net>2009-10-29 06:28:55 -0700
commit3e9a111e4cc50a3957d2b738f345db17d3434db8 (patch)
tree72ae9c46f13a5efbf09833ea4b49a10b5d1c5a5d /crawl-ref/source/exclude.cc
parentfc6f5d1bfac9cfbfac8486c83258e59628dce6a0 (diff)
downloadcrawl-ref-3e9a111e4cc50a3957d2b738f345db17d3434db8.tar.gz
crawl-ref-3e9a111e4cc50a3957d2b738f345db17d3434db8.zip
Bug #2887690: fixed by Robert's patch (fc6f5d1b)
Diffstat (limited to 'crawl-ref/source/exclude.cc')
-rw-r--r--crawl-ref/source/exclude.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/crawl-ref/source/exclude.cc b/crawl-ref/source/exclude.cc
index 211d3857b7..03a9be166e 100644
--- a/crawl-ref/source/exclude.cc
+++ b/crawl-ref/source/exclude.cc
@@ -326,22 +326,7 @@ void maybe_remove_autoexclusion(const coord_def &p)
{
const monsters *m = monster_at(p);
if (exc->autoex && (!m || !you.can_see(m) || m->type != exc->mon))
- {
- if (invalid_monster_type(exc->mon))
- {
- // Bug 2887690: for some reason -O1 or -O2 with gcc
- // 4.3.2 causes exc->autoex to always be true when a
- // game is saved and then restored. This hack fixes
- // things until we can figure out the root cause.
- mprf(MSGCH_DIAGNOSTICS, "maybe_remove_autoexclusion(): "
- "exclusion at (%d, %d) not really an auto-exclude "
- "[bug #2887690]; fixing",
- exc->pos.x, exc->pos.y);
- exc->autoex = false;
- return;
- }
del_exclude(p);
- }
}
}