diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-09 03:42:46 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-09 03:42:46 +0000 |
commit | 751e25e3d06d60d6e9709a1a38641a3faeb39325 (patch) | |
tree | 13478aa72dc337a1570b438ffa5130a7badf90f3 /crawl-ref/source/spells3.cc | |
parent | 4e07ba04748356b9e65d49af5a8a6188cfd8e8f1 (diff) | |
download | crawl-ref-751e25e3d06d60d6e9709a1a38641a3faeb39325.tar.gz crawl-ref-751e25e3d06d60d6e9709a1a38641a3faeb39325.zip |
Bug 1837610: if you pick up an item in the exact round that you're teleported
then the level map will show that item as still being on the floor.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5635 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index b5a318829e..a80a72fb5c 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1285,6 +1285,11 @@ static bool _teleport_player( bool allow_control, bool new_abyss_area ) // delays. interrupt_activity( AI_TELEPORT ); + // Update what we can see at the current location in case something + // hapened in the exact turn that we teleported (like picking up + // and item). + viewwindow(true, false); + if (you.duration[DUR_CONDENSATION_SHIELD] > 0) { you.duration[DUR_CONDENSATION_SHIELD] = 0; |