From 3590e0facac5ef56922642ab463ba1ccffd58464 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 12 Oct 2006 22:15:05 +0000 Subject: [PATCH] Restore some display behavior. --- src/sst.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sst.py b/src/sst.py index bf72de5..33149f3 100644 --- a/src/sst.py +++ b/src/sst.py @@ -1283,7 +1283,7 @@ def torpedo(origin, bearing, dispersion, number, nburst): if iquad==IHDOT: continue # hit something - if damaged(DSRSENS) and not game.condition=="docked": + if not damaged(DSRSENS) or game.condition == "docked": skip(1); # start new line after text track if iquad in (IHE, IHF): # Hit our ship skip(1) @@ -3521,7 +3521,7 @@ def tracktorpedo(origin, w, step, i, n, iquad): if step == 1: if n != 1: skip(1) - proutn(_("Track for %s torpedo number %d- ") % (game.quad[origin.i][origin.j],i+1)) + proutn(_("Track for torpedo number %d- ") % (i+1)) else: skip(1) proutn(_("Torpedo track- ")) -- 2.31.1