X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fextensions.qh;h=18119546c63d1b82d5bd6a188961647d98f39968;hb=445fe92dce68aeae8fe2c1a50de85af886377256;hp=ea6f0b068945772a13e3aecf340e2dc461fcd35d;hpb=606b7d7b27c6ecd120f68730fc55dcc439dfeabb;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/extensions.qh b/qcsrc/server/extensions.qh index ea6f0b068..18119546c 100644 --- a/qcsrc/server/extensions.qh +++ b/qcsrc/server/extensions.qh @@ -572,12 +572,10 @@ float(float a) tan = #475; // returns tangent value (which is simply sin(a)/cos( // string autocvar__cl_name; //NOTE: copying a string-typed autocvar to another variable/field, and then //changing the cvar or returning from progs is UNDEFINED. Writing to autocvar -//globals is UNDEFINED. Accessing autocvar globals after cvar_set()ing that +//globals is UNDEFINED. Accessing autocvar globals after cvar_set()ing that //cvar is IMPLEMENTATION DEFINED (an implementation may either yield the -//previous, or the current, value). Whether autocvar globals, after restoring -//a savegame, have the cvar's current value, or the original value at time of -//saving, is UNDEFINED. Restoring a savegame however must not restore the -//cvar values themselves. +//previous, or the current, value). Writing to an autocvar global is NOT +//ALLOWED. //In case the cvar does NOT exist, then it is automatically created with the //value of the autocvar initializer, if given. This is possible with e.g. //frikqcc and fteqcc the following way: