if (!god_mode) npc->set_property((int) Actor::health, npc->get_property((int) Actor::health) - hp);
npc->set_property((int) Actor::health, npc->get_property((int) Actor::health) - hp);
void Npc_hunger_timer::handle_event	(	unsigned long curtime, 	long udata	)	{	Game_window *gwin = Game_window::get_game_window();	Actor *npc = list->npc;					// No longer a party member?	if ((npc != gwin->get_main_actor() && npc->get_party_id() < 0) ||					//   or no longer hungry?	    npc->get_property((int) Actor::food_level) >= 0)		{		delete this;		return;		}	unsigned long minute = get_minute();					// Once/hour.	if (minute >= last_time + 60)		{		int hp = rand()%3;		if (rand()%4)			npc->say(first_starving, first_starving + 2);//++++Problems		npc->reduce_health(hp);		if (!god_mode)			npc->set_property((int) Actor::health,				npc->get_property((int) Actor::health) - hp);		last_time = minute;		}	gwin->get_tqueue()->add(curtime + 30000, this, 0L);	}