]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/spawnfunc.qh
Tidy up classnames
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / spawnfunc.qh
index 321610ad3e30b225615283625993ebf959eb621a..5c1cfac379a440723d76e44b1f842fdf36706039 100644 (file)
@@ -277,6 +277,7 @@ noref bool __spawnfunc_first;
                if (!this.sourceLoc) { \
                        this.sourceLoc = __FILE__":"STR(__LINE__); \
                } \
+               this.classname = #id; \
                if (!this.spawnfunc_checked) { \
                        _checkWhitelisted(this, #id); \
                        this.spawnfunc_checked = true; \