aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_val.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/pet_control/pet_val.cpp')
-rw-r--r--engines/titanic/pet_control/pet_val.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/pet_control/pet_val.cpp b/engines/titanic/pet_control/pet_val.cpp
index 5bc237572e..754bda5b7d 100644
--- a/engines/titanic/pet_control/pet_val.cpp
+++ b/engines/titanic/pet_control/pet_val.cpp
@@ -46,12 +46,12 @@ void CPetVal::proc5(Rect *rect) {
}
int CPetVal::proc16() {
- switch (_field14) {
- case 0:
+ switch (_mode) {
+ case MODE_0:
return _field18;
- case 1:
+ case MODE_1:
return _field1C;
- case 2:
+ case MODE_2:
return _field20;
default:
return 0;