diff options
-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); |