diff options
Diffstat (limited to 'engines/titanic/pet_control')
| -rw-r--r-- | engines/titanic/pet_control/pet_remote_glyphs.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_remote_glyphs.cpp b/engines/titanic/pet_control/pet_remote_glyphs.cpp index e9b2094dc8..b56c2f6854 100644 --- a/engines/titanic/pet_control/pet_remote_glyphs.cpp +++ b/engines/titanic/pet_control/pet_remote_glyphs.cpp @@ -24,6 +24,7 @@ #include "titanic/pet_control/pet_remote.h" #include "titanic/pet_control/pet_control.h" #include "titanic/messages/pet_messages.h" +#include "titanic/star_control/star_control.h" #include "titanic/support/strings.h" #include "titanic/titanic.h" @@ -643,6 +644,10 @@ bool CSkipNavigationGlyph::MouseButtonDownMsg(const Point &pt) { bool CSkipNavigationGlyph::MouseButtonUpMsg(const Point &pt) { if (_button && _button->MouseButtonUpMsg(pt)) { + CPetRemote *remote = static_cast<CPetRemote *>(_owner->getOwner()); + CStarControl *starControl = remote->getPetControl()->getStarControl(); + starControl->forceSolved(); + CActMsg actMsg("SetDestin"); actMsg.execute("CaptainsWheel"); return true; |
