]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make GetField_fullspawndata() docs support Doxygen and other tools
authorbones_was_here <bones_was_here@xonotic.au>
Fri, 22 Mar 2024 08:50:02 +0000 (18:50 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Fri, 22 Mar 2024 08:50:02 +0000 (18:50 +1000)
qcsrc/server/main.qc

index 40e14c906bf858e544c321cf475cada1526a9024..a6a771795f29bb76ddda023bfe9f640285f5fc82 100644 (file)
@@ -429,8 +429,7 @@ void SV_OnEntityPreSpawnFunction(entity this)
        }
 }
 
-string GetField_fullspawndata(entity e, string f, ...)
-/* Retrieves the value of a map entity field from fullspawndata
+/** Retrieves the value of a map entity field from fullspawndata
  * This bypasses field value changes made by the engine,
  * eg string-to-float and escape sequence substitution.
  *
@@ -442,6 +441,7 @@ string GetField_fullspawndata(entity e, string f, ...)
  *
  * FIXME: entities with //comments are not supported.
  */
+string GetField_fullspawndata(entity e, string f, ...)
 {
        string v = string_null;