diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2010-12-10 13:12:50 +0100 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2010-12-10 13:12:50 +0100 |
commit | e99ebefd96acb3f4afe8342a500fb0631d825d9a (patch) | |
tree | 24f6f91c2f67a20f49fd438135a8cb029296e969 /crawl-ref/source/tilereg-crt.cc | |
parent | 904c6acb4b52b760a6d33f92b7f0c5545412acfc (diff) | |
download | crawl-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.cc | 2 |
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(); |