]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/ComplexAnimation.cpp
use referenced flag of array types
[l2e.git] / src / graphics / ComplexAnimation.cpp
index bd2eaf8732b7044b28a1d770d87539301a4f474a..95f58692ed67bae11a7cb2187e332c8336b18a57 100644 (file)
@@ -3,7 +3,7 @@
 #include "../loader/Interpreter.h"
 #include "../loader/TypeDescription.h"
 
-using geometry::Vector;
+using math::Vector;
 using loader::FieldDescription;
 using loader::Interpreter;
 using loader::TypeDescription;
@@ -55,7 +55,7 @@ void ComplexAnimation::CreateTypeDescription() {
        td.AddSupertype(Animation::TYPE_ID, ((char *)a) - ((char *)&ca));
 
        Animation::AddFields(td, ca, ((char *)a) - ((char *)&ca));
-       td.AddField("frames", FieldDescription(((char *)&ca.frames) - ((char *)&ca), FrameProp::TYPE_ID).SetReferenced().SetAggregate().SetDescription("a variable number of frames"));
+       td.AddField("frames", FieldDescription(((char *)&ca.frames) - ((char *)&ca), FrameProp::TYPE_ID).SetAggregate().SetDescription("a variable number of frames"));
 
 
        FrameProp fp;