hit = actor->was_hit(); pois = actor->get_flag(Obj_flags::poisoned); prot = actor->get_flag(Obj_flags::protection);
Portrait_button::Portrait_button(Gump *par, int px, int py, Actor *a)	: Face_button(par, px+14, py-20, a), hp(0), mana(0){	hp = new Stat_bar(par, px+4, py - 10, a, Actor::health, Actor::strength, PALETTE_INDEX_RED);	if (actor->get_npc_num() == 0) 		mana = new Stat_bar(par, px+4, py - 5, a, Actor::mana, Actor::magic, PALETTE_INDEX_BLUE);	Game_window::get_game_window()->add_dirty(get_rect());}