X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Flib%2Fstats.qh;h=f0ea92d6345e347c12d40116ed63fac1c8390c68;hb=46077554d96e137c9fe832146b4701722caf7f18;hp=9bd4a3af94802718fcbd51e0e27046c5b366b6db;hpb=90d9f7c775306324957323d53d5a4ad995d999e3;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/lib/stats.qh b/qcsrc/lib/stats.qh index 9bd4a3af9..f0ea92d63 100644 --- a/qcsrc/lib/stats.qh +++ b/qcsrc/lib/stats.qh @@ -125,8 +125,8 @@ int g_magic_stats_hole = 0; .int __stat_null; STATIC_INIT(stats) { - STATS = new(stats); - // Prevent engine stats being sent + STATS = new_pure(stats); + // Prevent engine stats being sent int r = STATS_ENGINE_RESERVE; for (int i = 0, n = 256 - r; i < n; ++i) { #define X(_, name, id) if (i == id) continue;