aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/display_v1d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/display_v1d.cpp')
-rw-r--r--engines/hugo/display_v1d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/display_v1d.cpp b/engines/hugo/display_v1d.cpp
index 6cf20d413f..a46f5a8bec 100644
--- a/engines/hugo/display_v1d.cpp
+++ b/engines/hugo/display_v1d.cpp
@@ -40,7 +40,7 @@
namespace Hugo {
-Screen_v1d::Screen_v1d(HugoEngine &vm) : Screen(vm) {
+Screen_v1d::Screen_v1d(HugoEngine *vm) : Screen(vm) {
}
Screen_v1d::~Screen_v1d() {
@@ -61,7 +61,7 @@ void Screen_v1d::loadFont(int16 fontId) {
fontLoadedFl[_fnt] = true;
- memcpy(_fontdata[_fnt], _vm._arrayFont[_fnt], _vm._arrayFontSize[_fnt]);
+ memcpy(_fontdata[_fnt], _vm->_arrayFont[_fnt], _vm->_arrayFontSize[_fnt]);
_font[_fnt][0] = _fontdata[_fnt]; // Store height,width of fonts
int16 offset = 2; // Start at fontdata[2] ([0],[1] used for height,width)