diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-09 10:17:30 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-09 10:17:30 +0000 |
commit | e73b14bb597a465a3094d500080905517ca2bba6 (patch) | |
tree | 06e8a98911ac51531ffe72ab398f5a430746fd8f /crawl-ref/source/view.cc | |
parent | 431ed991d8f3af773769e64134d432e5d0717a6e (diff) | |
download | crawl-ref-e73b14bb597a465a3094d500080905517ca2bba6.tar.gz crawl-ref-e73b14bb597a465a3094d500080905517ca2bba6.zip |
Update stash tracker when teleporting, to keep track of items picked up
or dropped up in the same turn as teleporting.
Note: In tiles, the tile for a grid isn't updated before you move aside
to see it, so when you teleport, the remembered grid still may
show items that you picked up several turns ago and does not show
what you might have dropped there, provided you stayed in the
same place before teleporting. I don't know how to fix that, so
I'm handing it over to Enne. *waves*
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5652 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r-- | crawl-ref/source/view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc index da1f7fdc16..a8f5eda595 100644 --- a/crawl-ref/source/view.cc +++ b/crawl-ref/source/view.cc @@ -4676,7 +4676,7 @@ void viewwindow(bool draw_it, bool do_updates) int count_x, count_y; - losight( env.show, grd, you.x_pos, you.y_pos ); // must be done first + losight( env.show, grd, you.x_pos, you.y_pos ); // Must be done first. // What would be visible, if all of the translucent walls were // made opaque. |