entityclass(Rubble);
classfield(Rubble).float creationtime;
+#ifdef CSQC
IntrusiveList CasingsNGibs;
STATIC_INIT(CasingsNGibs) { CasingsNGibs = IL_NEW(); }
-
-IntrusiveList LimitedElectroBallRubbleList;
-STATIC_INIT(LimitedElectroBallRubbleList) { LimitedElectroBallRubbleList = IL_NEW(); }
-
+#endif
void LimitedChildrenRubble(IntrusiveList list, string cname, int limit, void(entity) deleteproc, entity parent);
if(WEP_CVAR_SEC(electro, limit) > 0)
{
+ if (!LimitedElectroBallRubbleList)
+ LimitedElectroBallRubbleList = IL_NEW();
ListNewChildRubble(LimitedElectroBallRubbleList, proj);
LimitedChildrenRubble(LimitedElectroBallRubbleList, "electro_orb", WEP_CVAR_SEC(electro, limit), adaptor_think2use_hittype_splash, actor);
}
SPAWNFUNC_WEAPON(weapon_electro, WEP_ELECTRO)
#ifdef SVQC
+IntrusiveList LimitedElectroBallRubbleList;
.float electro_count;
.float electro_secondarytime;
void W_Electro_ExplodeCombo(entity this);