aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_conversations.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-11-05 11:02:39 -0400
committerPaul Gilbert2016-11-05 11:02:39 -0400
commit6eac69f45a436535e6c56e27cb144eed8719317f (patch)
treeb15cbc2aba460682e329ffb13fa9bc4c059fcb6e /engines/titanic/pet_control/pet_conversations.cpp
parent1c3ba9be1428b6344a2d7417aa9905cada6e6508 (diff)
downloadscummvm-rg350-6eac69f45a436535e6c56e27cb144eed8719317f.tar.gz
scummvm-rg350-6eac69f45a436535e6c56e27cb144eed8719317f.tar.bz2
scummvm-rg350-6eac69f45a436535e6c56e27cb144eed8719317f.zip
TITANIC: Replaced int passenger class with PassengerClass enum
Diffstat (limited to 'engines/titanic/pet_control/pet_conversations.cpp')
-rw-r--r--engines/titanic/pet_control/pet_conversations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_conversations.cpp b/engines/titanic/pet_control/pet_conversations.cpp
index 03cdefbd34..57076fece5 100644
--- a/engines/titanic/pet_control/pet_conversations.cpp
+++ b/engines/titanic/pet_control/pet_conversations.cpp
@@ -427,7 +427,7 @@ int CPetConversations::canSummonBot(const CString &name) {
void CPetConversations::summonBot(const CString &name) {
if (_petControl) {
- if (_petControl->getPassengerClass() >= 4) {
+ if (_petControl->getPassengerClass() >= UNCHECKED) {
_petControl->displayMessage(AT_LEAST_3RD_CLASS_FOR_HELP);
} else {
_petControl->summonBot(name, 0);