From f5d7515c3cd305b003f95ac5c636eb0c529a0b9c Mon Sep 17 00:00:00 2001 From: dshaligram Date: Mon, 29 Dec 2008 16:09:35 +0000 Subject: Implement divination miscasts for orange statues, fix silver and orange statues to attack monsters as they attack the player. Also fix clouds not being cleared on level reset in dungeon.cc. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8017 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/dungeon.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/dungeon.cc') diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index 4df4bf78df..3342bf40fe 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -925,6 +925,13 @@ static void _reset_level() menv[i].reset(); env.mons_alloc.init(MONS_PROGRAM_BUG); + + // Zap clouds + env.cgrid.init(EMPTY_CLOUD); + + const cloud_struct empty; + env.cloud.init(empty); + mgrd.init(NON_MONSTER); igrd.init(NON_ITEM); -- cgit v1.2.3-54-g00ecf