Fix inverted test of Almy option.
[super-star-trek.git] / sst
diff --git a/sst b/sst
index b105bde25d5ff79aca0443e5a4ed702a39fdf737..307562cabe5da275300369f5331ce987acc3d567 100755 (executable)
--- a/sst
+++ b/sst
@@ -5080,8 +5080,10 @@ def deathray():
     prouts(_("WHIRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR"))
     skip(1)
     dprob = 0.30
-    # FIX-ME: This test looks inverted
-    if not (game.options & OPTION_ALMY):
+    # Ugh. This test (For Tom Almy's death-ray upgrade) was inverted for a long time.
+    # Furthermore, somebody (ESR or Stas?) changed Tom Almy's 0.7 upgraded chance of
+    # working to 0.5.
+    if game.options & OPTION_ALMY:
         dprob = 0.5
     r = rnd.real()
     if r > dprob: