From: Mario Date: Thu, 27 Apr 2017 08:10:01 +0000 (+1000) Subject: Mark target_items spawnfunc as already checked when changing target_give to it (poten... X-Git-Tag: xonotic-v0.8.5~2827 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4c0bb46bdcb081a0a745871eb6e09f0e59f6b581;p=xonotic%2Fxonotic-data.pk3dir.git Mark target_items spawnfunc as already checked when changing target_give to it (potential fix for warning spam) --- diff --git a/qcsrc/server/compat/quake3.qc b/qcsrc/server/compat/quake3.qc index 6ed0e4052..8815aceac 100644 --- a/qcsrc/server/compat/quake3.qc +++ b/qcsrc/server/compat/quake3.qc @@ -151,6 +151,7 @@ void target_give_init(entity this) it.nextthink = time; }); this.spawnflags = 2; + this.spawnfunc_checked = true; spawnfunc_target_items(this); InitializeEntity(this, target_init_verify, INITPRIO_FINDTARGET); }