]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - dpdefs/menudefs.qc
Clarify behaviour of random() builtin
[xonotic/darkplaces.git] / dpdefs / menudefs.qc
index 7282f4cdbbe4e59a609a4ecfe7fc42a37af330e4..1278dd710a8052bd77db771c258db428be8c0904 100644 (file)
@@ -179,7 +179,7 @@ float       vlen(vector v)                  = #9;
 float          vectoyaw(vector v)              = #10;
 vector         vectoangles(vector v)           = #11;
 
-float  random(void)  = #12;
+float  random(void)  = #12; // Returns a random number > 0 and < 1
 
 void   cmd(string command, ...) = #13;