]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/deathtypes/all.qh
Notifications: strong references
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / deathtypes / all.qh
index b662b7e76feb041f960def35e8f224b59495bea9..dcf7a7001f62f723727cbaf20fc79d2f29ed58f3 100644 (file)
@@ -19,8 +19,8 @@ int dt_identity(int i) { return i; }
         this.m_id += DT_FIRST; \
         this.nent_name = #id; \
         this.death_msgextra = extra; \
-        if (msg_death       != NO_MSG) this.death_msgself   = msg_multi_notifs[dt_identity(msg_death    - 1)]; \
-        if (msg_death_by    != NO_MSG) this.death_msgmurder = msg_multi_notifs[dt_identity(msg_death_by - 1)]; \
+        if (msg_death       != NO_MSG) this.death_msgself   = msg_death; \
+        if (msg_death_by    != NO_MSG) this.death_msgmurder = msg_death_by; \
     }
 
 const int DEATH_WEAPONMASK = BITS(8);