aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/objects.h
diff options
context:
space:
mode:
authorNicola Mettifogo2008-06-22 14:46:08 +0000
committerNicola Mettifogo2008-06-22 14:46:08 +0000
commitd2609258ccaf536cc4178d1e9c690ad472ae877c (patch)
treebee9830b68c704510680a4f08490e1600f674e65 /engines/parallaction/objects.h
parent4e2e46f16cd6480edc3509edfe4b49bde0268756 (diff)
downloadscummvm-rg350-d2609258ccaf536cc4178d1e9c690ad472ae877c.tar.gz
scummvm-rg350-d2609258ccaf536cc4178d1e9c690ad472ae877c.tar.bz2
scummvm-rg350-d2609258ccaf536cc4178d1e9c690ad472ae877c.zip
Added constructor and destructor to Dialogue, thus fixing a long standing leak.
svn-id: r32757
Diffstat (limited to 'engines/parallaction/objects.h')
-rw-r--r--engines/parallaction/objects.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/parallaction/objects.h b/engines/parallaction/objects.h
index afa6cc5ed5..2bc9df0bbe 100644
--- a/engines/parallaction/objects.h
+++ b/engines/parallaction/objects.h
@@ -181,6 +181,9 @@ struct Question {
struct Dialogue {
Question *_questions[NUM_QUESTIONS];
+
+ Dialogue();
+ ~Dialogue();
};
struct GetData { // size = 24