Code:
int Spawn_Post (edict_t *pent)
{
if (strcmp ("func_button", STRING (pent->v.classname)) == 0)
{
pent->v.flags = (new flags);
pent->v.spawnflags = (new flags);
}
RETURN_META_VALUE (MRES_IGNORED, 0);
}
Same thing as the transparent glass bug fix.