Mercurial > mm7
diff ObjectList.cpp @ 1980:c1c74df0a33e
changing most of auto types to their actual types
author | Grumpy7 |
---|---|
date | Wed, 30 Oct 2013 00:47:37 -0700 |
parents | 75fafd8ced59 |
children | aff7a7b072b7 |
line wrap: on
line diff
--- a/ObjectList.cpp Mon Oct 28 22:16:42 2013 -0700 +++ b/ObjectList.cpp Wed Oct 30 00:47:37 2013 -0700 @@ -71,7 +71,7 @@ for (uint i = 0; i < num_mm6_objs; ++i) { auto src = (ObjectDesc_mm6 *)((char *)data_mm6 + 4) + i; - auto dst = pObjects + num_mm7_objs + i; + ObjectDesc* dst = &pObjects[num_mm7_objs + i]; memcpy(dst->field_0, src->field_0, sizeof(dst->field_0)); dst->uObjectID = src->uObjectID; dst->uRadius = src->uRadius;