aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_frame.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-30 17:50:19 -0400
committerPaul Gilbert2016-07-10 16:37:49 -0400
commita15e299a06c8049cf4332ea2bf4b77ad0bd845e1 (patch)
treed8b875295dd665f56af3d1c245d5cd22f5fea21a /engines/titanic/pet_control/pet_frame.cpp
parentecb14e9bc235df216fdcb8426688b455043f2ad0 (diff)
downloadscummvm-rg350-a15e299a06c8049cf4332ea2bf4b77ad0bd845e1.tar.gz
scummvm-rg350-a15e299a06c8049cf4332ea2bf4b77ad0bd845e1.tar.bz2
scummvm-rg350-a15e299a06c8049cf4332ea2bf4b77ad0bd845e1.zip
TITANIC: Implement messages PET section
Diffstat (limited to 'engines/titanic/pet_control/pet_frame.cpp')
-rw-r--r--engines/titanic/pet_control/pet_frame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_frame.cpp b/engines/titanic/pet_control/pet_frame.cpp
index dd2be96cd9..4c3c518962 100644
--- a/engines/titanic/pet_control/pet_frame.cpp
+++ b/engines/titanic/pet_control/pet_frame.cpp
@@ -126,7 +126,7 @@ bool CPetFrame::setPetControl(CPetControl *petControl) {
void CPetFrame::setArea(PetArea newArea) {
resetArea();
- if (newArea < PET_6)
+ if (newArea < PET_MESSAGE)
_modeButtons[PET_AREAS[newArea]].setMode(MODE_SELECTED);
}