]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/deathtypes/all.qh
Accept hash changes (entity indices)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / deathtypes / all.qh
index 14304992a2273200878117c54c2eab2397cd80f6..b662b7e76feb041f960def35e8f224b59495bea9 100644 (file)
@@ -15,8 +15,7 @@ REGISTRY_CHECK(Deathtypes)
 int dt_identity(int i) { return i; }
 
 #define REGISTER_DEATHTYPE(id, msg_death, msg_death_by, extra) \
-    REGISTER(Deathtypes, DEATH, id, m_id, new(deathtype)) { \
-        make_pure(this); \
+    REGISTER(Deathtypes, DEATH, id, m_id, new_pure(deathtype)) { \
         this.m_id += DT_FIRST; \
         this.nent_name = #id; \
         this.death_msgextra = extra; \