diff options
author | Strangerke | 2016-05-24 07:24:30 +0200 |
---|---|---|
committer | Strangerke | 2016-05-24 07:46:19 +0200 |
commit | a923745973bfe7d0f1fba8184add7ec9c320c5e5 (patch) | |
tree | 8a9a29772266b9a2e7d620310b21e9239d842b08 /engines/gnap/resource.h | |
parent | 4cac7d15112da7c25cda1ca45cc8ee95eed0716e (diff) | |
download | scummvm-rg350-a923745973bfe7d0f1fba8184add7ec9c320c5e5.tar.gz scummvm-rg350-a923745973bfe7d0f1fba8184add7ec9c320c5e5.tar.bz2 scummvm-rg350-a923745973bfe7d0f1fba8184add7ec9c320c5e5.zip |
GNAP: Fix some uninitialized variables
Diffstat (limited to 'engines/gnap/resource.h')
-rw-r--r-- | engines/gnap/resource.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/gnap/resource.h b/engines/gnap/resource.h index 29bd31c88f..f4a3669eda 100644 --- a/engines/gnap/resource.h +++ b/engines/gnap/resource.h @@ -59,7 +59,8 @@ struct SequenceAnimation { int16 _framesCount; int16 _maxTotalDuration; SequenceFrame *frames; - SequenceAnimation() : frames(nullptr) {} + + SequenceAnimation() : frames(nullptr), _additionalDelay(0), _framesCount(0), _maxTotalDuration(0) {} ~SequenceAnimation() { delete[] frames; } void loadFromStream(Common::MemoryReadStream &stream); }; |