summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-30 23:51:58 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-12-01 01:34:48 +0100
commit80e0dd2845f1146dda6716a9025c1a3997bc5cae (patch)
treeb8d3b33a7fd18f55e9a14ac1585322ce99067a88 /crawl-ref/source/files.cc
parenta3da6138222256183fbd4321ca27157403d03f01 (diff)
downloadcrawl-ref-80e0dd2845f1146dda6716a9025c1a3997bc5cae.tar.gz
crawl-ref-80e0dd2845f1146dda6716a9025c1a3997bc5cae.zip
Don't load ghosts if --seed is specified.
Kills the reproducibility.
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index 45e6c33910..e98a4e5fc1 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -1334,6 +1334,7 @@ bool load_level(dungeon_feature_type stair_taken, load_mode_type load_mode,
if (!crawl_state.game_is_tutorial()
&& !crawl_state.game_is_zotdef()
+ && !Options.seed
&& !player_in_branch(BRANCH_ABYSS)
&& (!player_in_branch(BRANCH_DUNGEON) || you.depth > 2)
&& one_chance_in(3))