else if (actor->get_flag(Obj_flags::protection))
else if (prot)
void Portrait_button::paint(Game_window *gwin){	Face_button::paint(gwin);	Shape_frame *s = get_shape();	if (s)	{		int px = x;		int py = y;		if (parent)		{			px += parent->get_x();			py += parent->get_y();		}		if (actor->was_hit())		{			s->paint_rle_outline(gwin->get_win()->get_ib8(), px, py,				gwin->get_hit_pixel());		}		else if (actor->get_flag(Obj_flags::poisoned))		{			s->paint_rle_outline(gwin->get_win()->get_ib8(), px, py,				gwin->get_poison_pixel());		}		else if (actor->get_flag(Obj_flags::protection))		{			s->paint_rle_outline(gwin->get_win()->get_ib8(), px, py,				gwin->get_protect_pixel());		}	}	if (hp)	hp->paint(gwin);	if (mana) mana->paint(gwin);}