- /* Rematerialization attempt should succeed if can get adj to base */
- for (l = 1; l <= 5; l++) {
- ix = basex+3.0*Rand()-1;
- iy = basey+3.0*Rand()-1;
- if (ix>=1 && ix<=10 && iy>=1 && iy<=10 && game.quad[ix][iy]==IHDOT) {
- /* found one -- finish up */
- prout("succeeds.");
- sectx=ix;
- secty=iy;
- game.quad[ix][iy]=ship;
- dock(0);
- skip(1);
- prout("Lt. Uhura- \"Captain, we made it!\"");
- return;
- }
- }
- finish(FMATERIALIZE);
- return;
+ game.quad[ix][iy]=ship;
+ textcolor(GREEN);
+ prout("succeeds.");
+ textcolor(DEFAULT);
+ dock(0);
+ skip(1);
+ prout("Lt. Uhura- \"Captain, we made it!\"");