SHERLOCK: Fix crash when moving crates

This commit is contained in:
Paul Gilbert 2015-05-03 18:17:50 -10:00
parent c5d5694883
commit 32d46dc00a
2 changed files with 10 additions and 0 deletions

View file

@ -26,6 +26,14 @@
namespace Sherlock {
SequenceEntry::SequenceEntry() {
_objNum = 0;
_frameNumber = 0;
_seqTo = 0;
}
/*----------------------------------------------------------------*/
/**
* Load the data for a single statement within a talk file
*/

View file

@ -77,6 +77,8 @@ struct SequenceEntry {
Common::Array<byte> _sequences;
int _frameNumber;
int _seqTo;
SequenceEntry();
};
struct ScriptStackEntry {