From 3fa46888a81cee152aa064036e62081b403c2053 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 15 Jan 2017 16:22:15 -0500 Subject: TITANIC: Fixes for getting chicken and starling puret --- engines/titanic/core/game_object.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/titanic/core') diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp index 2b327960fe..bcdf77b675 100644 --- a/engines/titanic/core/game_object.cpp +++ b/engines/titanic/core/game_object.cpp @@ -1511,6 +1511,8 @@ void CGameObject::petAddToCarryParcel(CGameObject *obj) { } void CGameObject::petAddToInventory() { + assert(dynamic_cast(this)); + CPetControl *pet = getPetControl(); if (pet) { makeDirty(); -- cgit v1.2.3