aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_section.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-29 19:29:28 -0400
committerPaul Gilbert2016-07-10 16:37:24 -0400
commit6ec129d188a2b5b86dba6540b38a959bbf8b2491 (patch)
tree312a0ffb0e0c91afeec2465c62789bfb9a1c09a9 /engines/titanic/pet_control/pet_section.cpp
parent5d087a8fcd709550ec14fc6b01acf045f8d6614b (diff)
downloadscummvm-rg350-6ec129d188a2b5b86dba6540b38a959bbf8b2491.tar.gz
scummvm-rg350-6ec129d188a2b5b86dba6540b38a959bbf8b2491.tar.bz2
scummvm-rg350-6ec129d188a2b5b86dba6540b38a959bbf8b2491.zip
TITANIC: Added PET Conversations enter, PET Timers, and Text Cursor show
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() {