]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/_all.inc
spawnfuncs: fix alternate worldspawn classnames
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / _all.inc
index 6e93c5af36c4db32060301c3eb64ad911f9bf011..9d582091039faa12ac2028efeb9022357be3a631 100644 (file)
@@ -188,7 +188,7 @@ void make_safe_for_remove(entity this);
                if (!_StartFrame_init) {
                        _StartFrame_init = true;
                        float oldtime = time; time = 1;
-                       __spawnfunc_expecting = 2; spawnfunc_worldspawn(NULL);
+                       __spawnfunc_expecting = 2; NULL.__spawnfunc_constructor(NULL);
                        time = oldtime;
         }
         if (_StartFrame) _StartFrame();