diff options
author | Paul Gilbert | 2016-06-25 20:17:35 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:25:01 -0400 |
commit | 507924b39d0beb50bacb05f3ad15f66fc113f3a9 (patch) | |
tree | 0af16357d299e8c3cc9bb26c7be058307e7bb0c2 /engines/titanic/pet_control | |
parent | 243a3e6a7dbedf5960a20b7028263310fb5ab27a (diff) | |
download | scummvm-rg350-507924b39d0beb50bacb05f3ad15f66fc113f3a9.tar.gz scummvm-rg350-507924b39d0beb50bacb05f3ad15f66fc113f3a9.tar.bz2 scummvm-rg350-507924b39d0beb50bacb05f3ad15f66fc113f3a9.zip |
TITANIC: Fix initializing PET Remote glyphs
Diffstat (limited to 'engines/titanic/pet_control')
-rw-r--r-- | engines/titanic/pet_control/pet_remote_glyphs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |