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