]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
make autocvar spec more clear
authorRudolf Polzer <divverent@alientrap.org>
Sat, 7 May 2011 20:46:39 +0000 (22:46 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 7 May 2011 20:46:39 +0000 (22:46 +0200)
qcsrc/server/extensions.qh

index 4c15a46a42a162c1f342afb443bd45d145c3f39b..e8f0236b2e835754385e0c564f398ea5bce829a0 100644 (file)
@@ -591,11 +591,11 @@ float(float a) tan = #475; // returns tangent value (which is simply sin(a)/cos(
 //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
-//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.
+//cvar in the same frame 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.
 //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: