From f315dcd03c7bca173bc78be8c6b558b9aa341673 Mon Sep 17 00:00:00 2001 From: Mark Date: Wed, 9 Jan 2013 23:15:21 -0600 Subject: Fix #5849 - broken snapvector inverts player speed Snapvector was converting floats to 16 bit integers instead of 32 bit integers. --- src/asm/snapvector.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/asm') diff --git a/src/asm/snapvector.c b/src/asm/snapvector.c index f0f62466..44e81f58 100644 --- a/src/asm/snapvector.c +++ b/src/asm/snapvector.c @@ -55,8 +55,8 @@ void qsnapvectorsse(vec3_t vec) #define QROUNDX87(src) \ "flds " src "\n" \ - "fistps " src "\n" \ - "filds " src "\n" \ + "fistpl " src "\n" \ + "fildl " src "\n" \ "fstps " src "\n" void qsnapvectorx87(vec3_t vec) -- cgit