- if (stdamtim != 1e30 && stdamtim != game.state.date && condit == IHDOCKED) {
- proutn("Spock- \"I revised the Star Chart from the starbase's records.\"\n\r");
- }
- if (nn == 0) proutn(" STAR CHART FOR THE KNOWN GALAXY\n\r");
- if (stdamtim != 1e30) {
- if (condit == IHDOCKED) {
- /* We are docked, so restore chart from base information */
- stdamtim = game.state.date;
- for (i=1; i <= GALSIZE ; i++)
- for (j=1; j <= GALSIZE; j++)
- if (game.starch[i][j] == 1) game.starch[i][j] = game.state.galaxy[i][j]+SUPERNOVA_PLACE;
- }
- else {
- proutn("(Last surveillance update %d stardates ago.",
- (int)(game.state.date-stdamtim));
- }
+
+ if (game.damage[DRADIO] == 0.0)
+ rechart();
+
+ if (lastchart < game.state.date && condit == IHDOCKED) {
+ prout("Spock- \"I revised the Star Chart from the starbase's records.\"");
+ rechart();