From 81eb7c1fd41f335e3d467139f79632e45b51d76d Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 23 Sep 2020 02:09:12 +1000 Subject: [PATCH] Add a commented definition for _fullspawndata outside of the dpdefs file --- qcsrc/dpdefs/upstream/dpextensions.qc | 2 +- qcsrc/lib/spawnfunc.qh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/qcsrc/dpdefs/upstream/dpextensions.qc b/qcsrc/dpdefs/upstream/dpextensions.qc index bd1a8dc15..1aeecfafd 100644 --- a/qcsrc/dpdefs/upstream/dpextensions.qc +++ b/qcsrc/dpdefs/upstream/dpextensions.qc @@ -2620,7 +2620,7 @@ float MOVETYPE_USER_LAST = 191; //idea: eukara //darkplaces implementation: Cloudwalk //Do NOT use in production yet. Uncomment if you intend to use it -string __fullspawndata; +//string __fullspawndata; //description: //http://icculus.org/finger/marco?date=2019-01-25&time=05-38-02 diff --git a/qcsrc/lib/spawnfunc.qh b/qcsrc/lib/spawnfunc.qh index 8c7911233..321610ad3 100644 --- a/qcsrc/lib/spawnfunc.qh +++ b/qcsrc/lib/spawnfunc.qh @@ -6,6 +6,8 @@ /** If this global exists, only functions with spawnfunc_ name prefix qualify as spawn functions */ noref bool require_spawnfunc_prefix; .bool spawnfunc_checked; +/** Not for production use, provides access to a dump of the entity's fields when it is parsed from map data */ +//noref string __fullspawndata; // Optional type checking; increases compile time too much to be enabled by default #if 0 -- 2.39.2