summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-crt.cc
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2010-12-10 13:12:50 +0100
committerRaphael Langella <raphael.langella@gmail.com>2010-12-10 13:12:50 +0100
commite99ebefd96acb3f4afe8342a500fb0631d825d9a (patch)
tree24f6f91c2f67a20f49fd438135a8cb029296e969 /crawl-ref/source/tilereg-crt.cc
parent904c6acb4b52b760a6d33f92b7f0c5545412acfc (diff)
downloadcrawl-ref-e99ebefd96acb3f4afe8342a500fb0631d825d9a.tar.gz
crawl-ref-e99ebefd96acb3f4afe8342a500fb0631d825d9a.zip
Add a no_scaling boolean to set_transform
This fix the tiles offset bug with the new skill menu. I don't really understand why scaling breaks the display while translating is still needed. So, this is more a workaround, than a proper fix. But it works.
Diffstat (limited to 'crawl-ref/source/tilereg-crt.cc')
-rw-r--r--crawl-ref/source/tilereg-crt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tilereg-crt.cc b/crawl-ref/source/tilereg-crt.cc
index 1a3d087548..7106ee8158 100644
--- a/crawl-ref/source/tilereg-crt.cc
+++ b/crawl-ref/source/tilereg-crt.cc
@@ -61,7 +61,7 @@ void CRTRegion::clear()
void CRTRegion::render()
{
- set_transform();
+ set_transform(true);
// render all the inherited texts
TextRegion::render();