From 0c5cf86d08ff17e7578232cd5fcbf54fbc9c6be9 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 19 Feb 2012 20:06:36 -0500 Subject: [PATCH] pylint found a real bug in phaser damage allocation vs. multiple targets. --- sst.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sst.py b/sst.py index 0969547..742e104 100755 --- a/sst.py +++ b/sst.py @@ -1660,10 +1660,9 @@ def checkshctrl(rpow): def hittem(hits): "Register a phaser hit on Klingons and Romulans." - kk = 0 w = Coord() skip(1) - for (k, wham) in enumerate(hits): + for (kk, wham) in enumerate(hits): if wham==0: continue dustfac = randreal(0.9, 1.0) -- 2.31.1