diff options
Diffstat (limited to 'engines/titanic/core/game_object.cpp')
-rw-r--r-- | engines/titanic/core/game_object.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp index 1cdc6cde92..759c853759 100644 --- a/engines/titanic/core/game_object.cpp +++ b/engines/titanic/core/game_object.cpp @@ -363,4 +363,16 @@ void CGameObject::setPetArea(PetArea newArea) const { pet->setArea(newArea); } +bool CGameObject::hasActiveMovie() const { + if (_surface && _surface->_movie) + return _surface->_movie->isActive(); + return false; +} + +int CGameObject::getMovie19() const { + if (_surface && _surface->_movie) + return _surface->_movie->proc19(); + return _field78; +} + } // End of namespace Titanic |