save the hero tracking info */
| 73 | |
| 74 | /* save the hero tracking info */ |
| 75 | void |
| 76 | save_track(NHFILE *nhfp) |
| 77 | { |
| 78 | if (update_file(nhfp)) { |
| 79 | int i; |
| 80 | |
| 81 | Sfo_int(nhfp, &utcnt, "track-utcnt"); |
| 82 | Sfo_int(nhfp, &utpnt, "track-utpnt"); |
| 83 | for (i = 0; i < utcnt; i++) { |
| 84 | Sfo_nhcoord(nhfp, &utrack[i], "utrack"); |
| 85 | } |
| 86 | } |
| 87 | if (release_data(nhfp)) |
| 88 | initrack(); |
| 89 | } |
| 90 | |
| 91 | /* restore the hero tracking info */ |
| 92 | void |
no test coverage detected