diff options
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/objects.cpp | 7 | ||||
-rw-r--r-- | engines/sherlock/objects.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/engines/sherlock/objects.cpp b/engines/sherlock/objects.cpp index 3cec0d800a..ff8f6393db 100644 --- a/engines/sherlock/objects.cpp +++ b/engines/sherlock/objects.cpp @@ -377,6 +377,13 @@ void ActionType::synchronize(Common::SeekableReadStream &s) { /*----------------------------------------------------------------*/ +UseType::UseType() { + _cAnimNum = _cAnimSpeed = 0; + _useFlag = 0; + _dFlag[0] = 0; + _lFlag[0] = _lFlag[1] = 0; +} + void UseType::synchronize(Common::SeekableReadStream &s) { char buffer[12]; diff --git a/engines/sherlock/objects.h b/engines/sherlock/objects.h index e2b53ec541..10b491e5d7 100644 --- a/engines/sherlock/objects.h +++ b/engines/sherlock/objects.h @@ -160,6 +160,7 @@ struct UseType { int _lFlag[2]; Common::String _target; + UseType(); void synchronize(Common::SeekableReadStream &s); }; |