From 4fd482e41813f32359eb91a2b62867605af0382c Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 28 Apr 2016 21:07:41 -0400 Subject: TITANIC: Implement checks for whether NPCs can be summoned --- engines/titanic/pet_control/pet_conversations.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'engines/titanic/pet_control/pet_conversations.h') diff --git a/engines/titanic/pet_control/pet_conversations.h b/engines/titanic/pet_control/pet_conversations.h index d04e9834d1..3f396c828a 100644 --- a/engines/titanic/pet_control/pet_conversations.h +++ b/engines/titanic/pet_control/pet_conversations.h @@ -29,8 +29,6 @@ namespace Titanic { -enum SummonResult { SUMMON_CANT = 0, SUMMON_CAN = 1, SUMMON_ABORT = 2 }; - class CPetConversations : public CPetSection { private: CPetGfxElement _scrollUp; @@ -76,7 +74,7 @@ private: /** * Check whether an NPC can be summoned */ - SummonResult canSummonNPC(const CString &name); + int canSummonNPC(const CString &name); /** * Summon an NPC -- cgit v1.2.3