]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/common/util.qc
Attempt to port Xonotic's multi-jump feature (previously written by me in Nexuiz)
[voretournament/voretournament.git] / data / qcsrc / common / util.qc
index 3e2f269f1a8d2c5a4358eff7a2e2de8993c2ee91..990e3c4d72d408f15289a35d7dfaf072af68f971 100644 (file)
@@ -1754,6 +1754,12 @@ string getcurrentmod()
                return argv(n - 1);\r
 }\r
 \r
+vector vec2(vector v)\r
+{\r
+       v_z = 0;\r
+       return v;\r
+}\r
+\r
 #ifndef MENUQC\r
 #ifdef CSQC\r
 float ReadInt24_t()\r