diff options
author | Eugene Sandulenko | 2016-05-03 20:13:08 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-03 20:13:08 +0200 |
commit | 8cf10f0a5a7e1bb630fb8ddea848ea11f85726a4 (patch) | |
tree | c5fc88bd90e4a26016eccd2092ec22a116a976e7 | |
parent | ebeeb467c429e5ea3a03a903f530c8252cc57d0c (diff) | |
download | scummvm-rg350-8cf10f0a5a7e1bb630fb8ddea848ea11f85726a4.tar.gz scummvm-rg350-8cf10f0a5a7e1bb630fb8ddea848ea11f85726a4.tar.bz2 scummvm-rg350-8cf10f0a5a7e1bb630fb8ddea848ea11f85726a4.zip |
TEENAGENT: Proper initialization for Object structure.
-rw-r--r-- | engines/teenagent/objects.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/objects.h b/engines/teenagent/objects.h index 94303c9fbe..1f8a82a66e 100644 --- a/engines/teenagent/objects.h +++ b/engines/teenagent/objects.h @@ -165,7 +165,7 @@ struct Object { //19 Common::String name, description; - Object(): _base(NULL) { memset(this, 0, sizeof(Object)); } + Object(): _base(NULL) { id = 0; actorOrientation = 0; enabled = 0; } void dump(int level = 0) const; void setName(const Common::String &newName); void load(byte *addr); |