From 33fede4ed82f277b0dc8e7b9cc34fe96ee75b2df Mon Sep 17 00:00:00 2001
From: Kistaro Windrider <kistaro@gmail.com>
Date: Sun, 29 Dec 2024 23:41:47 -0800
Subject: [PATCH] update comment about off-by-1 error

---
 vacuum_gambit.p8 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/vacuum_gambit.p8 b/vacuum_gambit.p8
index 754f4b4..49275bc 100644
--- a/vacuum_gambit.p8
+++ b/vacuum_gambit.p8
@@ -378,8 +378,10 @@ function drawhud()
  else
   vertmeter(115,58,118,117,primary_ship.xp, primary_ship.xptarget, powcols)
  end
- -- 59 px vertically? or 60? off-by-1 error somewhere here or in vertmeter?
- -- it's here. I think
+ -- 60 px vertically. note that
+ -- there was at one point an
+ -- off-by-one and I'm not sure
+ -- it's actually fixed
  local mxs, cs, mxh, ch = primary_ship.maxshield, primary_ship.shield, primary_ship.maxhp, primary_ship.hp
  if (mxs > 0) and (mxh > 0) then
   local split = 59 * (mxs / (mxs + mxh)) \ 1 + 64