aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/movie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/support/movie.cpp')
-rw-r--r--engines/titanic/support/movie.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/titanic/support/movie.cpp b/engines/titanic/support/movie.cpp
index d614ea7d9b..f2c5643f78 100644
--- a/engines/titanic/support/movie.cpp
+++ b/engines/titanic/support/movie.cpp
@@ -45,7 +45,8 @@ bool CMovie::get10() {
/*------------------------------------------------------------------------*/
-OSMovie::OSMovie(const CResourceKey &name, CVideoSurface *surface) : _videoSurface(surface) {
+OSMovie::OSMovie(const CResourceKey &name, CVideoSurface *surface) :
+ _videoSurface(surface), _gameObject(nullptr) {
_video = new AVIDecoder();
if (!_video->loadFile(name.getString()))
error("Could not open video - %s", name.getString().c_str());