aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-25 20:17:35 -0400
committerPaul Gilbert2016-07-15 19:25:01 -0400
commit507924b39d0beb50bacb05f3ad15f66fc113f3a9 (patch)
tree0af16357d299e8c3cc9bb26c7be058307e7bb0c2 /engines/titanic
parent243a3e6a7dbedf5960a20b7028263310fb5ab27a (diff)
downloadscummvm-rg350-507924b39d0beb50bacb05f3ad15f66fc113f3a9.tar.gz
scummvm-rg350-507924b39d0beb50bacb05f3ad15f66fc113f3a9.tar.bz2
scummvm-rg350-507924b39d0beb50bacb05f3ad15f66fc113f3a9.zip
TITANIC: Fix initializing PET Remote glyphs
Diffstat (limited to 'engines/titanic')
-rw-r--r--engines/titanic/pet_control/pet_remote_glyphs.cpp4
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 {