summaryrefslogtreecommitdiffstats
path: root/src/script/dd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/dd.cpp')
-rw-r--r--src/script/dd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/dd.cpp b/src/script/dd.cpp
index b9d5f2f..4c7095e 100644
--- a/src/script/dd.cpp
+++ b/src/script/dd.cpp
@@ -44,7 +44,7 @@ int cPoint(CBotVar* &var, CBotString& retClass, void* user)
// Gives a parameter of type "point".
-bool GetPoint(CBotVar* &var, int& exception, D3DVECTOR& pos)
+bool GetPoint(CBotVar* &var, int& exception, Math::Vector& pos)
{
CBotVar *pX, *pY, *pZ;
@@ -124,7 +124,7 @@ bool rSpace(CBotVar* var, CBotVar* result, int& exception, void* user)
CScript* script = ((CObject*)user)->RetRunScript();
CObject* pThis = (CObject*)user;
CBotVar* pSub;
- D3DVECTOR center;
+ Math::Vector center;
float rMin, rMax, dist;
rMin = 5.0f*UNIT;