diff options
Diffstat (limited to 'src/object/auto/autoflag.cpp')
-rw-r--r-- | src/object/auto/autoflag.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/auto/autoflag.cpp b/src/object/auto/autoflag.cpp index c75f914..b6497eb 100644 --- a/src/object/auto/autoflag.cpp +++ b/src/object/auto/autoflag.cpp @@ -73,7 +73,7 @@ void CAutoFlag::DeleteObject(bool bAll) void CAutoFlag::Init()
{
- D3DVECTOR wind;
+ Math::Vector wind;
float angle;
m_time = 0.0f;
@@ -84,7 +84,7 @@ void CAutoFlag::Init() angle = Math::RotateAngle(wind.x, -wind.z);
m_object->SetAngleY(0, angle); // directs the flag in the wind
- m_strong = Length(wind);
+ m_strong = wind.Length();
}
|