aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/data/animation.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lastexpress/data/animation.h')
-rw-r--r--engines/lastexpress/data/animation.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/lastexpress/data/animation.h b/engines/lastexpress/data/animation.h
index ca1f7c6fa0..435621eb8e 100644
--- a/engines/lastexpress/data/animation.h
+++ b/engines/lastexpress/data/animation.h
@@ -69,6 +69,7 @@ private:
// despite their size field, info chunks don't have a payload
enum ChunkType {
+ kChunkTypeNone = 0,
kChunkTypeUnknown1 = 1,
kChunkTypeUnknown2 = 2,
kChunkTypeAudioInfo = 3,
@@ -91,6 +92,12 @@ private:
ChunkType type;
uint16 frame;
uint32 size;
+
+ Chunk() {
+ type = kChunkTypeNone;
+ frame = 0;
+ size = 0;
+ }
};
void reset();