const int PROJECTILE_NADE_MONSTER = 82;
const int PROJECTILE_NADE_MONSTER_BURN = 83;
-REGISTRY(Nades, 8)
+REGISTRY(Nades, BITS(4))
+#define Nades_from(i) _Nades_from(i, NADE_TYPE_Null)
REGISTER_REGISTRY(RegisterNades)
-#define REGISTER_NADE(id) REGISTER(RegisterNades, NADE_TYPE, Nades, Nades_COUNT, id, m_id, NEW(Nade))
+REGISTRY_CHECK(Nades)
+
+#define REGISTER_NADE(id) REGISTER(RegisterNades, NADE_TYPE, Nades, id, m_id, NEW(Nade))
CLASS(Nade, Object)
ATTRIB(Nade, m_id, int, 0)
REGISTER_NADE(Null);
#ifdef SVQC
-float healer_send(entity to, int sf);
+bool healer_send(entity this, entity to, int sf);
#endif
entity Nade_FromProjectile(float proj)