aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/script_support.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/true_talk/script_support.h')
-rw-r--r--engines/titanic/true_talk/script_support.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/script_support.h b/engines/titanic/true_talk/script_support.h
index bdaec6e7c9..ffd4f4885f 100644
--- a/engines/titanic/true_talk/script_support.h
+++ b/engines/titanic/true_talk/script_support.h
@@ -40,6 +40,10 @@ struct TTnpcScriptResponse {
uint _tag;
uint _values[4];
+ TTnpcScriptResponse() : _tag(0) {
+ _values[0] = _values[1] = _values[2] = _values[3] = 0;
+ }
+
/**
* Returns the size of the values list plus 1
*/
@@ -59,7 +63,6 @@ struct TTscriptRange {
bool isSequential);
};
-
struct TTsentenceEntry {
int _field0;
int _field4;