From 2737cb4a7f211e871f2b6c0fd041bc7be8f57600 Mon Sep 17 00:00:00 2001 From: TimePath Date: Sun, 8 Oct 2017 11:18:04 +1100 Subject: [PATCH] Force classnames globally --- qcsrc/lib/spawnfunc.qh | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/lib/spawnfunc.qh b/qcsrc/lib/spawnfunc.qh index f1eb477a0..c350d6d05 100644 --- a/qcsrc/lib/spawnfunc.qh +++ b/qcsrc/lib/spawnfunc.qh @@ -104,6 +104,7 @@ noref bool require_spawnfunc_prefix; if (!this.sourceLoc) { \ this.sourceLoc = __FILE__ ":" STR(__LINE__); \ } \ + this.classname = #id; \ if (!this.spawnfunc_checked) { \ for (int i = 0, n = numentityfields(); i < n; ++i) { \ string value = getentityfieldstring(i, this); \ -- 2.39.2