diff options
Diffstat (limited to 'crawl-ref/source/tilereg.cc')
-rw-r--r-- | crawl-ref/source/tilereg.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc index 5239865c50..01518e0739 100644 --- a/crawl-ref/source/tilereg.cc +++ b/crawl-ref/source/tilereg.cc @@ -2836,14 +2836,14 @@ TitleRegion::TitleRegion(int width, int height) : sx = sy = 0; dx = dy = 1; - if (!m_img.load_texture("title.png", GenericTexture::MIPMAP_NONE, NULL, true)) + if (!m_img.load_texture("title.png", GenericTexture::MIPMAP_NONE)) return; // Center wx = width; wy = height; - ox = (wx - m_img.width()) / 2; - oy = (wy - m_img.height()) / 2; + ox = (wx - m_img.orig_width()) / 2; + oy = (wy - m_img.orig_height()) / 2; { PTVert &v = m_buf.get_next(); |