aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control
diff options
context:
space:
mode:
authorPaul Gilbert2017-02-27 08:55:56 -0500
committerPaul Gilbert2017-02-27 08:55:56 -0500
commit93cd3eced23dba0099cc713a7d2323a901dbca75 (patch)
treeb562ea1e5f77c169461e94e1f60dcb2ed96031f5 /engines/titanic/pet_control
parent64b05a8693531b455389466bcaa16572f96ecc0a (diff)
downloadscummvm-rg350-93cd3eced23dba0099cc713a7d2323a901dbca75.tar.gz
scummvm-rg350-93cd3eced23dba0099cc713a7d2323a901dbca75.tar.bz2
scummvm-rg350-93cd3eced23dba0099cc713a7d2323a901dbca75.zip
TITANIC: Implemented CStarControl doAction
Diffstat (limited to 'engines/titanic/pet_control')
-rw-r--r--engines/titanic/pet_control/pet_control.cpp4
-rw-r--r--engines/titanic/pet_control/pet_control.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/pet_control/pet_control.cpp b/engines/titanic/pet_control/pet_control.cpp
index 55b2ecc24b..0388859cb2 100644
--- a/engines/titanic/pet_control/pet_control.cpp
+++ b/engines/titanic/pet_control/pet_control.cpp
@@ -712,8 +712,8 @@ void CPetControl::starsSetButtons(int val1, int val2) {
_starfield.makePetDirty();
}
-void CPetControl::starsSetReference(bool hasRef) {
- _starfield.setHasReference(hasRef);
+void CPetControl::starsSetReference() {
+ _starfield.setHasReference(true);
}
} // End of namespace Titanic
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h
index 554157e166..18a6d400f6 100644
--- a/engines/titanic/pet_control/pet_control.h
+++ b/engines/titanic/pet_control/pet_control.h
@@ -588,9 +588,9 @@ public:
void starsSetButtons(int val1, int val2);
/**
- * Set whether the user has the galactic reference material
+ * Sets that the user has the galactic reference material
*/
- void starsSetReference(bool hasRef);
+ void starsSetReference();
};
} // End of namespace Titanic