From 610aab1c635f170348179ac5a2ecccc6971874f8 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 5 Sep 2016 10:06:21 -0400 Subject: TITANIC: Convert some dynamic_casts back to static_cast as appropriate --- engines/titanic/pet_control/pet_remote_glyphs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 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(_owner->getOwner()); + CPetRemote *remote = static_cast(_owner->getOwner()); return remote->getElement(id); } -- cgit v1.2.3