aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core/game_object.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-24 13:16:21 -0400
committerPaul Gilbert2016-03-24 13:16:21 -0400
commit71c0ad236e4a5f9c957c936a6084e4c519e626c7 (patch)
treeff147d7a26d79675b6c4d9cf9f8b2d7b23fc6b45 /engines/titanic/core/game_object.cpp
parent83c6ebb46668841310cae3766b57c391f459b05f (diff)
downloadscummvm-rg350-71c0ad236e4a5f9c957c936a6084e4c519e626c7.tar.gz
scummvm-rg350-71c0ad236e4a5f9c957c936a6084e4c519e626c7.tar.bz2
scummvm-rg350-71c0ad236e4a5f9c957c936a6084e4c519e626c7.zip
TITANIC: Implement CGameObject::stopMovie
Diffstat (limited to 'engines/titanic/core/game_object.cpp')
-rw-r--r--engines/titanic/core/game_object.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp
index e4ad4ccaea..810e4396cb 100644
--- a/engines/titanic/core/game_object.cpp
+++ b/engines/titanic/core/game_object.cpp
@@ -125,8 +125,9 @@ void CGameObject::load(SimpleFile *file) {
CNamedItem::load(file);
}
-void CGameObject::fn2() {
- error("TODO");
+void CGameObject::stopMovie() {
+ if (_surface)
+ _surface->stopMovie();
}
bool CGameObject::checkPoint(const Point &pt, int v0, int v1) {