aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/resources.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/engines/gob/resources.cpp b/engines/gob/resources.cpp
index dbed825977..6eedab1e60 100644
--- a/engines/gob/resources.cpp
+++ b/engines/gob/resources.cpp
@@ -98,7 +98,10 @@ Common::SeekableReadStream *TextItem::stream() const {
Resources::TOTResourceTable::TOTResourceTable() {
- items = 0;
+ itemsCount = 0;
+ unknown = (byte)0;
+ items = NULL;
+ dataOffset = 0u;
}
Resources::TOTResourceTable::~TOTResourceTable() {
@@ -118,9 +121,11 @@ Resources::EXTResourceTable::~EXTResourceTable() {
Resources::TOTTextTable::TOTTextTable() {
- items = 0;
- data = 0;
- needFree = false;
+ needFree = false;
+ itemsCount = 0;
+ data = (byte)0;
+ size = 0;
+ items = NULL;
}
Resources::TOTTextTable::~TOTTextTable() {