From: Eric S. Raymond Date: Thu, 12 Oct 2006 22:15:05 +0000 (+0000) Subject: Restore some display behavior. X-Git-Tag: 2.0~74 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=3590e0facac5ef56922642ab463ba1ccffd58464;p=super-star-trek.git Restore some display behavior. --- 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- "))