diff options
author | Mark <mark@noffle.net> | 2013-01-09 23:15:21 -0600 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-12 21:35:59 +0000 |
commit | f315dcd03c7bca173bc78be8c6b558b9aa341673 (patch) | |
tree | a7203dddeab0ed3082bfce510b3b20f33519c704 | |
parent | 9ba7e3105d272e2971c347d209e428394f9ff778 (diff) |
Fix #5849 - broken snapvector inverts player speed
Snapvector was converting floats to 16 bit integers instead of 32 bit integers.
-rw-r--r-- | src/asm/snapvector.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |