fix HP-only mode

it was showing the bar intended as the warning that there's no HP
under the shield. but I tried it and that bar just makes it look like
there *is* a sliver of health, which there isn't. so it's better off
without that in either mode.
This commit is contained in:
Kistaro Windrider 2024-08-18 14:49:44 -07:00
parent c2668cefea
commit 6b8efe3438
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -347,8 +347,7 @@ function drawhud()
elseif mxs > 0 then elseif mxs > 0 then
vertmeter(121,67,124,124,cs,mxs,shlcols) vertmeter(121,67,124,124,cs,mxs,shlcols)
elseif mxh > 1 then elseif mxh > 1 then
line(121,124,124,124,0x89) vertmeter(121,67,124,124,ch-1,mxh-1,hpcols)
vertmeter(121,67,124,123,ch-1,mxh-1,hpcols)
else else
print("!", 122, 94, 9) print("!", 122, 94, 9)
print("!", 121, 93, 8) print("!", 121, 93, 8)