aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sherlock/talk.cpp8
-rw-r--r--engines/sherlock/talk.h2
2 files changed, 10 insertions, 0 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp
index 9af8a29c1e..953f884625 100644
--- a/engines/sherlock/talk.cpp
+++ b/engines/sherlock/talk.cpp
@@ -26,6 +26,14 @@
namespace Sherlock {
+SequenceEntry::SequenceEntry() {
+ _objNum = 0;
+ _frameNumber = 0;
+ _seqTo = 0;
+}
+
+/*----------------------------------------------------------------*/
+
/**
* Load the data for a single statement within a talk file
*/
diff --git a/engines/sherlock/talk.h b/engines/sherlock/talk.h
index d545d31351..f96c3176d2 100644
--- a/engines/sherlock/talk.h
+++ b/engines/sherlock/talk.h
@@ -77,6 +77,8 @@ struct SequenceEntry {
Common::Array<byte> _sequences;
int _frameNumber;
int _seqTo;
+
+ SequenceEntry();
};
struct ScriptStackEntry {