]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Hopefully fix an oddity in compression
authorMario <mario@smbclan.net>
Mon, 6 Mar 2017 20:06:08 +0000 (06:06 +1000)
committerMario <mario@smbclan.net>
Mon, 6 Mar 2017 20:06:08 +0000 (06:06 +1000)
qcsrc/common/util.qc

index 22737078c12eb3905ebfc6cc84d02ae58b2a63ba..c0997bf73aaed554f81ee316fc2cd4f14667f1e6 100644 (file)
@@ -326,7 +326,7 @@ float compressShortVector(vector vec)
 STATIC_INIT(compressShortVector)
 {
        float l = 1;
-       float f = (2 ** 1/8);
+       float f = (2 ** (1/8));
        int i;
        for(i = 0; i < 128; ++i)
        {