aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_section.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/pet_control/pet_section.cpp')
-rw-r--r--engines/titanic/pet_control/pet_section.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_section.cpp b/engines/titanic/pet_control/pet_section.cpp
index afdbc9fdd8..213c93e78d 100644
--- a/engines/titanic/pet_control/pet_section.cpp
+++ b/engines/titanic/pet_control/pet_section.cpp
@@ -46,8 +46,11 @@ void CPetSection::proc25() {
error("TODO");
}
-void CPetSection::proc27() {
- error("TODO");
+void CPetSection::proc27(int duration) {
+ if (duration > 0)
+ _petControl->startPetTimer(0, duration, 0, this);
+ else
+ proc28();
}
void CPetSection::proc28() {