if(zp) { strcpy(target_zone,zp->target_zone); zc->zoneID = database.GetZoneID(target_zone); tarheading = zp->target_heading; }