|
From: <dsh...@us...> - 2007-04-03 16:46:29
|
Revision: 1202
http://svn.sourceforge.net/crawl-ref/?rev=1202&view=rev
Author: dshaligram
Date: 2007-04-03 09:46:27 -0700 (Tue, 03 Apr 2007)
Log Message:
-----------
Fixed labyrinths getting monsters and items (Erik). Mea culpa.
Modified Paths:
--------------
trunk/crawl-ref/source/dungeon.cc
Modified: trunk/crawl-ref/source/dungeon.cc
===================================================================
--- trunk/crawl-ref/source/dungeon.cc 2007-04-03 16:33:59 UTC (rev 1201)
+++ trunk/crawl-ref/source/dungeon.cc 2007-04-03 16:46:27 UTC (rev 1202)
@@ -421,6 +421,9 @@
reset_level();
build_layout_skeleton(level_number, level_type, sr);
+ if (you.level_type == LEVEL_LABYRINTH)
+ return;
+
// Try to place minivaults that really badly want to be placed. Still
// no guarantees, seeing this is a minivault.
place_special_minivaults(level_number, level_type);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|