From: bones_was_here Date: Fri, 22 Mar 2024 08:50:02 +0000 (+1000) Subject: Make GetField_fullspawndata() docs support Doxygen and other tools X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=4f0a11225485382574b3f0c4238b93bf46304dae Make GetField_fullspawndata() docs support Doxygen and other tools --- diff --git a/qcsrc/server/main.qc b/qcsrc/server/main.qc index 40e14c906..a6a771795 100644 --- a/qcsrc/server/main.qc +++ b/qcsrc/server/main.qc @@ -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;