From 507924b39d0beb50bacb05f3ad15f66fc113f3a9 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 25 Jun 2016 20:17:35 -0400 Subject: TITANIC: Fix initializing PET Remote glyphs --- engines/titanic/pet_control/pet_remote_glyphs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/titanic/pet_control/pet_remote_glyphs.cpp') diff --git a/engines/titanic/pet_control/pet_remote_glyphs.cpp b/engines/titanic/pet_control/pet_remote_glyphs.cpp index e42e0825b0..6b7c8cb4ae 100644 --- a/engines/titanic/pet_control/pet_remote_glyphs.cpp +++ b/engines/titanic/pet_control/pet_remote_glyphs.cpp @@ -39,8 +39,8 @@ void CPetRemoteGlyphs::generateMessage(RemoteMessage msgNum, const CString &name /*------------------------------------------------------------------------*/ void CPetRemoteGlyph::setDefaults(const CString &name, CPetControl *petControl) { - _gfxElement->setBounds(Rect(0, 0, 52, 52)); - _gfxElement->setup(MODE_UNSELECTED, name, petControl); + _element.setBounds(Rect(0, 0, 52, 52)); + _element.setup(MODE_UNSELECTED, name, petControl); } CPetRemoteGlyphs *CPetRemoteGlyph::getOwner() const { -- cgit v1.2.3