X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=io.c;fp=io.c;h=d87d097990a70e5fc4b2cd2926d5c879977aa658;hp=025aa162f00daa03cc6fc3eee2fda805180df7d6;hb=c5c08c8b43daf955ad447af2b72ade2f8579b0d2;hpb=e4a5aba24b9db10449c830ac1dee3f4040caf533 diff --git a/io.c b/io.c index 025aa16..d87d097 100644 --- a/io.c +++ b/io.c @@ -415,6 +415,9 @@ void tracktorpedo(int x, int y, int ix, int iy, int wait, int l, int i, int n, i proutn("%d - %d ", (int)x, (int)y); #else if (game.damage[DSRSENS]==0 || condit==IHDOCKED) { + int crx, cry; + crx = wherex(); + cry = wherey(); drawmaps(2); delay((wait!=1)*400); gotoxy(iy*2+3,ix+2); @@ -437,6 +440,7 @@ void tracktorpedo(int x, int y, int ix, int iy, int wait, int l, int i, int n, i lowvideo(); _setcursortype(_NORMALCURSOR); } + gotoxy(crx, cry); } else { proutn("%d - %d ", (int)x, (int)y); }