X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FEntity.cpp;h=c951f66df81fddbc5fdb8b6732a0829cf11b5911;hb=3f9f41338d8100a719e161a3a1cdda9dd227e2b4;hp=e1f970bea644103be655e27a094ffa478c4a3169;hpb=d2d8ff1fd5f55e8b43d48ae5e75c216492e2f032;p=l2e.git diff --git a/src/map/Entity.cpp b/src/map/Entity.cpp index e1f970b..c951f66 100644 --- a/src/map/Entity.cpp +++ b/src/map/Entity.cpp @@ -125,8 +125,8 @@ void Entity::CreateTypeDescription() { td.SetLoader(&Load); td.SetSize(sizeof(Entity)); - td.AddField("animation", FieldDescription(((char *)&e.animation) - ((char *)&e), animationId, true)); - td.AddField("spriteOffset", FieldDescription(((char *)&e.spriteOffset) - ((char *)&e), vectorId, false)); + td.AddField("animation", FieldDescription(((char *)&e.animation) - ((char *)&e), animationId).SetReferenced()); + td.AddField("spriteOffset", FieldDescription(((char *)&e.spriteOffset) - ((char *)&e), vectorId)); } void Entity::Construct(void *data) {