]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/util.qc
Fix nearest waypoint not updated for dropped flags, keys and keepaway ball causing...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / util.qc
index 38514e9270b7f457bbf8590d1d26f091af641272..c0997bf73aaed554f81ee316fc2cd4f14667f1e6 100644 (file)
@@ -326,7 +326,7 @@ float compressShortVector(vector vec)
 STATIC_INIT(compressShortVector)
 {
        float l = 1;
-       float f = pow(2, 1/8);
+       float f = (2 ** (1/8));
        int i;
        for(i = 0; i < 128; ++i)
        {