From 8f82bd1f8aca60f4d15e3966933dc10cbe019574 Mon Sep 17 00:00:00 2001 From: zelgadis Date: Mon, 19 Jan 2009 04:55:39 +0000 Subject: Fix bug #2517795: debug_item_scan() errors when the Abyss shifts. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8571 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/abyss.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/abyss.cc') diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc index b729491396..b3081d5379 100644 --- a/crawl-ref/source/abyss.cc +++ b/crawl-ref/source/abyss.cc @@ -391,6 +391,7 @@ static void _abyss_lose_monster(monsters &mons) if (mons.needs_transit()) mons.set_transit( level_id(LEVEL_ABYSS) ); + mons.destroy_inventory(); mons.reset(); } -- cgit v1.2.3-54-g00ecf