Ejemplo n.º 1
0
void close_help()
{
	for (int overlay_id = 0; overlay_id < MAX_HELP_OVERLAYS; overlay_id++)
	{
		for (int i = 0; i < HELP_MAX_ITEM; i++)
			safe_kill(help_overlaylist[overlay_id].textlist[GR_640][i].string);
	}
}
void close_help(){
	for (int overlay_id=0; overlay_id<MAX_HELP_OVERLAYS; overlay_id++){
		if (help_overlaylist[overlay_id].textlist.size() > 0) {
			for(SCP_vector<help_text>::iterator ii = help_overlaylist[overlay_id].textlist.at(0).begin(); ii != help_overlaylist[overlay_id].textlist.at(0).end(); ++ii) {
				safe_kill(ii->string);
			}
		}
	}
}