summaryrefslogtreecommitdiffstats
path: root/src/script/cmdtoken.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/cmdtoken.cpp')
-rw-r--r--src/script/cmdtoken.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/script/cmdtoken.cpp b/src/script/cmdtoken.cpp
index b370343..70d1a7b 100644
--- a/src/script/cmdtoken.cpp
+++ b/src/script/cmdtoken.cpp
@@ -906,14 +906,14 @@ int OpBuild(char *line, char *op)
// Returns a position in the XZ plane (top view).
-D3DVECTOR OpPos(char *line, char *op)
+Math::Vector OpPos(char *line, char *op)
{
- D3DVECTOR pos;
+ Math::Vector pos;
line = SearchOp(line, op);
if ( *line == 0 )
{
- pos = D3DVECTOR(0.0f, 0.0f, 0.0f);
+ pos = Math::Vector(0.0f, 0.0f, 0.0f);
return pos;
}
pos.x = GetFloat(line, 0, 0.0f);
@@ -924,14 +924,14 @@ D3DVECTOR OpPos(char *line, char *op)
// Returns a direction.
-D3DVECTOR OpDir(char *line, char *op)
+Math::Vector OpDir(char *line, char *op)
{
- D3DVECTOR dir;
+ Math::Vector dir;
line = SearchOp(line, op);
if ( *line == 0 )
{
- dir = D3DVECTOR(0.0f, 0.0f, 0.0f);
+ dir = Math::Vector(0.0f, 0.0f, 0.0f);
return dir;
}
dir.x = GetFloat(line, 0, 0.0f);