summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-13 10:57:10 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-13 10:57:10 +0000
commita14e48e33b5e1eef0503fa426ff31e0c83628d73 (patch)
treef0b55e5dd41f040f1586c24423c4cbaa93048d0e /crawl-ref/source/files.cc
parent1b47c4b7f1f810e1d3acabbd740c3fac6dc72ee7 (diff)
downloadcrawl-ref-a14e48e33b5e1eef0503fa426ff31e0c83628d73.tar.gz
crawl-ref-a14e48e33b5e1eef0503fa426ff31e0c83628d73.zip
Lost monsters could be placed on save load, fixed (Haran).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1853 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index a9a20d204a..f8387f4775 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -1063,7 +1063,8 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode,
} // end of moving followers
// Load monsters in transit.
- place_transiting_monsters();
+ if (load_mode == LOAD_ENTER_LEVEL)
+ place_transiting_monsters();
redraw_all();