[Scummvm-cvs-logs] scummvm master -> 8cf10f0a5a7e1bb630fb8ddea848ea11f85726a4
sev-
sev at scummvm.org
Tue May 3 20:14:07 CEST 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
8cf10f0a5a TEENAGENT: Proper initialization for Object structure.
Commit: 8cf10f0a5a7e1bb630fb8ddea848ea11f85726a4
https://github.com/scummvm/scummvm/commit/8cf10f0a5a7e1bb630fb8ddea848ea11f85726a4
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-05-03T20:13:08+02:00
Commit Message:
TEENAGENT: Proper initialization for Object structure.
Changed paths:
engines/teenagent/objects.h
diff --git a/engines/teenagent/objects.h b/engines/teenagent/objects.h
index 94303c9..1f8a82a 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);
More information about the Scummvm-git-logs
mailing list