aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/star_control/fpose.h3
-rw-r--r--engines/titanic/support/video_surface.cpp1
2 files changed, 4 insertions, 0 deletions
diff --git a/engines/titanic/star_control/fpose.h b/engines/titanic/star_control/fpose.h
index d1b7e1579f..dbdd832067 100644
--- a/engines/titanic/star_control/fpose.h
+++ b/engines/titanic/star_control/fpose.h
@@ -27,6 +27,9 @@
namespace Titanic {
+/*
+ * This class combines a position and orientation in 3D space
+ */
class FPose : public FMatrix {
public:
FVector _vector;
diff --git a/engines/titanic/support/video_surface.cpp b/engines/titanic/support/video_surface.cpp
index b886dc094c..4f848342eb 100644
--- a/engines/titanic/support/video_surface.cpp
+++ b/engines/titanic/support/video_surface.cpp
@@ -527,6 +527,7 @@ void OSVideoSurface::clear() {
if (!loadIfReady())
error("Could not load resource");
+ _ddSurface->fill(nullptr, 0);
}
void OSVideoSurface::playMovie(uint flags, CGameObject *obj) {