]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/prandom.qc
Merge branch 'TimePath/issues/1472' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / prandom.qc
index 9bca7b097335485fa11fcd5bc0dc98bb69a49bcb..12e4e0ea5a23c365a5c8b23a4f6b9fdb09045a84 100644 (file)
@@ -1,3 +1,8 @@
+#include "prandom.qh"
+#include "_all.qh"
+
+#include "../warpzonelib/mathlib.qh"
+
 // prandom - PREDICTABLE random number generator (not seeded yet)
 
 #ifdef USE_PRANDOM
@@ -21,9 +26,9 @@ vector prandomvec()
 
        do
        {
-               v_x = prandom();
-               v_y = prandom();
-               v_z = prandom();
+               v.x = prandom();
+               v.y = prandom();
+               v.z = prandom();
        }
        while(v * v > 1);