From 0cbc3be58fb17485301e3e0ddc48bd7eb3324408 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 19 Jul 2009 19:23:39 +0000 Subject: Handle one more case of Jiyva's altar removal. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10335 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/monstuff.cc | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'crawl-ref/source/monstuff.cc') diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index e4e2747aa7..9f5da46605 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -761,21 +761,6 @@ static bool _monster_avoided_death(monsters *monster, killer_type killer, int i) return (false); } -static bool _remove_jiyva_altars() -{ - bool success = false; - for (rectangle_iterator ri(1); ri; ++ri) - { - if (grd(*ri) == DNGN_ALTAR_JIYVA) - { - grd(*ri) = DNGN_FLOOR; - success = true; - } - } - - return (success); -} - static bool _slime_vault_in_los() { bool in_los = false; @@ -824,7 +809,7 @@ static bool _slime_vault_to_glass(bool silent) } } - apply_to_all_dungeons(_remove_jiyva_altars); + remove_all_jiyva_altars(); if (silenced(you.pos())) { -- cgit v1.2.3-54-g00ecf