aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_remote_glyphs.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-09-05 10:06:21 -0400
committerPaul Gilbert2016-09-05 10:06:21 -0400
commit610aab1c635f170348179ac5a2ecccc6971874f8 (patch)
tree08f4e5a698c1666ba171fdf61a20717460f16610 /engines/titanic/pet_control/pet_remote_glyphs.cpp
parentf5ce9c167cd6e16b26e0510dd0d1b19881d86a73 (diff)
downloadscummvm-rg350-610aab1c635f170348179ac5a2ecccc6971874f8.tar.gz
scummvm-rg350-610aab1c635f170348179ac5a2ecccc6971874f8.tar.bz2
scummvm-rg350-610aab1c635f170348179ac5a2ecccc6971874f8.zip
TITANIC: Convert some dynamic_casts back to static_cast as appropriate
Diffstat (limited to 'engines/titanic/pet_control/pet_remote_glyphs.cpp')
-rw-r--r--engines/titanic/pet_control/pet_remote_glyphs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_remote_glyphs.cpp b/engines/titanic/pet_control/pet_remote_glyphs.cpp
index 35a7ab39ac..953428ff0c 100644
--- a/engines/titanic/pet_control/pet_remote_glyphs.cpp
+++ b/engines/titanic/pet_control/pet_remote_glyphs.cpp
@@ -48,7 +48,7 @@ CPetRemoteGlyphs *CPetRemoteGlyph::getOwner() const {
}
CPetGfxElement *CPetRemoteGlyph::getElement(uint id) const {
- CPetRemote *remote = dynamic_cast<CPetRemote *>(_owner->getOwner());
+ CPetRemote *remote = static_cast<CPetRemote *>(_owner->getOwner());
return remote->getElement(id);
}