aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ad/ad_item.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2013-02-06 12:45:46 +0100
committerEinar Johan Trøan Sømåen2013-02-06 13:40:35 +0100
commit74e32bd3329b8d7b19d97ddff140fb23b901c2d6 (patch)
tree0094aec3cdb326d528f81971d76cbf042ff8b908 /engines/wintermute/ad/ad_item.cpp
parent83152fd6088f08c238a1d175cfadef847dd7eaac (diff)
downloadscummvm-rg350-74e32bd3329b8d7b19d97ddff140fb23b901c2d6.tar.gz
scummvm-rg350-74e32bd3329b8d7b19d97ddff140fb23b901c2d6.tar.bz2
scummvm-rg350-74e32bd3329b8d7b19d97ddff140fb23b901c2d6.zip
WINTERMUTE: Privatize a few more members in BaseGame.
Diffstat (limited to 'engines/wintermute/ad/ad_item.cpp')
-rw-r--r--engines/wintermute/ad/ad_item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/ad/ad_item.cpp b/engines/wintermute/ad/ad_item.cpp
index 1bd7692820..8534956120 100644
--- a/engines/wintermute/ad/ad_item.cpp
+++ b/engines/wintermute/ad/ad_item.cpp
@@ -435,7 +435,7 @@ bool AdItem::display(int x, int y) {
}
amountX += _amountOffsetX;
- BaseFont *font = _font ? _font : _gameRef->_systemFont;
+ BaseFont *font = _font ? _font : _gameRef->getSystemFont();
if (font) {
if (_amountString) {
font->drawText((byte *)_amountString, amountX, amountY, width, _amountAlign);