summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-mon.cc
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2010-12-30 17:40:28 +0100
committerRaphael Langella <raphael.langella@gmail.com>2010-12-30 18:30:41 +0100
commit47c22999268e04d224da8c6f180b2ba35534519f (patch)
tree84d62e3c11caeb0a5149c177d18e3218c52a7e52 /crawl-ref/source/tilereg-mon.cc
parent03c708493e382a971cf9c7bc48b1f46a042b0b06 (diff)
downloadcrawl-ref-47c22999268e04d224da8c6f180b2ba35534519f.tar.gz
crawl-ref-47c22999268e04d224da8c6f180b2ba35534519f.zip
Update monster tab before drawing it.
This fix #3092 and probably other bugs with the monster tab.
Diffstat (limited to 'crawl-ref/source/tilereg-mon.cc')
-rw-r--r--crawl-ref/source/tilereg-mon.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/tilereg-mon.cc b/crawl-ref/source/tilereg-mon.cc
index ce3f48b4fd..1510e9d5d4 100644
--- a/crawl-ref/source/tilereg-mon.cc
+++ b/crawl-ref/source/tilereg-mon.cc
@@ -158,6 +158,7 @@ const monster* MonsterRegion::get_monster(unsigned int idx) const
void MonsterRegion::pack_buffers()
{
+ update();
const int num_floor = tile_dngn_count(env.tile_default.floor);
unsigned int i = 0;