aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/pet_control/pet_control.cpp')
-rw-r--r--engines/titanic/pet_control/pet_control.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_control.cpp b/engines/titanic/pet_control/pet_control.cpp
index 415d1e9821..423f87cd8c 100644
--- a/engines/titanic/pet_control/pet_control.cpp
+++ b/engines/titanic/pet_control/pet_control.cpp
@@ -645,7 +645,7 @@ bool CPetControl::isDoorOrBellbotPresent() const {
treeItem = treeItem->scan(view)) {
CString name = treeItem->getName();
if (dynamic_cast<CGameObject *>(treeItem) &&
- (name.contains("Doorbot") || name.contains("BellBot")))
+ (name.containsIgnoreCase("Doorbot") || name.containsIgnoreCase("BellBot")))
return true;
}
@@ -687,7 +687,7 @@ bool CPetControl::isSuccUBusActive() const {
return false;
CString name = getName();
- return name.contains("Succubus") || name.contains("Sub");
+ return name.containsIgnoreCase("Succubus") || name.containsIgnoreCase("Sub");
}
void CPetControl::convResetDials(int flag) {