]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
document autocvar _x, _y, _z issue
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 15 Feb 2011 06:28:25 +0000 (06:28 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 15 Feb 2011 06:28:25 +0000 (06:28 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10844 d7cf8633-e32d-0410-b094-e92efae38249

dpdefs/dpextensions.qc

index c49f6feb95991b8a8a7495a76b7ca83882e98826..7602384076157d2c8c656e4a54ef93572cc1a766 100644 (file)
@@ -596,6 +596,8 @@ float(float a) tan = #475; // returns tangent value (which is simply sin(a)/cos(
 //equivalent to the NULL value of the given data type, that is, the empty
 //string, 0, or '0 0 0'. However, when automatic cvar creation took place, a
 //warning is printed to the game console.
+//NOTE: to prevent an ambiguity with float names for vector types, autocvar
+//names MUST NOT end with _x, _y or _z!
 
 //DP_QC_CHANGEPITCH
 //idea: id Software