diff options
Diffstat (limited to 'engines/sherlock/objects.h')
-rw-r--r-- | engines/sherlock/objects.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/sherlock/objects.h b/engines/sherlock/objects.h index 6a71166ee9..a219484a62 100644 --- a/engines/sherlock/objects.h +++ b/engines/sherlock/objects.h @@ -144,16 +144,15 @@ struct ActionType { int _cAnimSpeed; Common::String _names[NAMES_COUNT]; + ActionType(); + /** * Load the data for the action */ void load(Common::SeekableReadStream &s); }; -struct UseType { - int _cAnimNum; - int _cAnimSpeed; - Common::String _names[NAMES_COUNT]; +struct UseType: public ActionType { int _useFlag; // Which flag USE will set (if any) Common::String _target; Common::String _verb; |