Portal_Remove(this, 0);
}
-float Portal_Customize()
-{SELFPARAM();
+float Portal_Customize(entity this)
+{
if(IS_SPEC(other))
other = other.enemy;
if(other == this.aiment)
portal.health = autocvar_g_balance_portal_health;
setmodel(portal, MDL_PORTAL);
portal.savemodelindex = portal.modelindex;
- portal.customizeentityforclient = Portal_Customize;
+ setcefc(portal, Portal_Customize);
if(!Portal_FindSafeOrigin(portal))
{