diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-04 22:01:15 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-04 22:01:15 +0000 |
commit | c070fa4aa13e00f09de5d208fdcdb467a71f3ee7 (patch) | |
tree | 836b2796ecd656b5dbf62824b880fb3085411230 /crawl-ref/source/player.cc | |
parent | d81fc850da0f408cc759b3a7815f3e2efc056710 (diff) | |
download | crawl-ref-c070fa4aa13e00f09de5d208fdcdb467a71f3ee7.tar.gz crawl-ref-c070fa4aa13e00f09de5d208fdcdb467a71f3ee7.zip |
[Tiles] Keep track of which dungeon grid the player last clicked and
don't display the grid description (feature, item, monster) for that
grid. Fixes (part of) 2660578, i.e. monster descriptions hiding fighting
messages.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9330 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index b4f6370bbe..e6a1b87172 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -5891,6 +5891,10 @@ void player::init() non_branch_info[i].assert_validity(); } +#ifdef USE_TILE + last_clicked_grid = coord_def(); +#endif + if (m_quiver) delete m_quiver; m_quiver = new player_quiver; |