From f3566e6f4cd674d67bed4a85ad87c83629faa704 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 8 Jul 2007 17:34:44 +0000 Subject: [PATCH] cleanup of vector import --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401076 --- core/smn_vector.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/smn_vector.cpp b/core/smn_vector.cpp index 35ed64c4..39a5ef19 100644 --- a/core/smn_vector.cpp +++ b/core/smn_vector.cpp @@ -17,9 +17,9 @@ #include #define SET_VECTOR(addr, vec) \ - addr[0] = vec.x; \ - addr[1] = vec.y; \ - addr[2] = vec.z; + addr[0] = sp_ftoc(vec.x); \ + addr[1] = sp_ftoc(vec.y); \ + addr[2] = sp_ftoc(vec.z); static cell_t GetVectorLength(IPluginContext *pContext, const cell_t *params) {