td.SetConstructor(&Construct);
td.SetSize(sizeof(TargetingMode));
- td.AddField("faction", FieldDescription(((char *)&t.ally) - ((char *)&t), boolId, true));
- td.AddField("mode", FieldDescription(((char *)&t.mode) - ((char *)&t), numberId, true));
+ td.AddField("faction", FieldDescription(((char *)&t.ally) - ((char *)&t), boolId, false));
+ td.AddField("mode", FieldDescription(((char *)&t.mode) - ((char *)&t), numberId, false));
}
void TargetingMode::Construct(void *data) {