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; \