summaryrefslogtreecommitdiffstats
path: root/src/animation/AnimBlendClumpData.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/animation/AnimBlendClumpData.h')
-rw-r--r--src/animation/AnimBlendClumpData.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/animation/AnimBlendClumpData.h b/src/animation/AnimBlendClumpData.h
index fc74b42d..acfd006f 100644
--- a/src/animation/AnimBlendClumpData.h
+++ b/src/animation/AnimBlendClumpData.h
@@ -3,7 +3,6 @@
#include "AnimBlendList.h"
-// TODO: put somewhere else
struct AnimBlendFrameData
{
enum {
@@ -38,7 +37,10 @@ public:
#ifdef PED_SKIN
int32 modelNumber; // doesn't seem to be used
#endif
- CVector *velocity;
+ union {
+ CVector2D *velocity2d;
+ CVector *velocity3d;
+ };
// order of frames is determined by RW hierarchy
AnimBlendFrameData *frames;