From 4f0a11225485382574b3f0c4238b93bf46304dae Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Fri, 22 Mar 2024 18:50:02 +1000 Subject: [PATCH] Make GetField_fullspawndata() docs support Doxygen and other tools --- qcsrc/server/main.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2