From 3e9a111e4cc50a3957d2b738f345db17d3434db8 Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Thu, 29 Oct 2009 06:28:55 -0700 Subject: Bug #2887690: fixed by Robert's patch (fc6f5d1b) --- crawl-ref/source/exclude.cc | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'crawl-ref/source/exclude.cc') 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); - } } } -- cgit v1.2.3-54-g00ecf