1
0
mirror of https://github.com/blawar/ooot.git synced 2024-07-04 18:13:37 +00:00

Update z_parameter.cpp

fized ZREG reference
This commit is contained in:
Blake Warner 2022-03-04 11:02:37 -05:00 committed by GitHub
parent cf79202dda
commit 25443a3fe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3365,7 +3365,7 @@ void Interface_Draw(GlobalContext* globalCtx) {
G_TX_NOLOD, G_TX_NOLOD);
// Draw 6 carrots
for (svar1 = 1, svar5 = 110; svar1 < 7; svar1++, svar5 += 16) { // this took me three hours to figure out please dont laugh
for (svar1 = 1, svar5 = ZREG(14); svar1 < 7; svar1++, svar5 += 16) { // this took me three hours to figure out please dont laugh
// Carrot Color (based on availability)
if ((interfaceCtx->numHorseBoosts == 0) || (interfaceCtx->numHorseBoosts < svar1)) {
gDPSetPrimColor(OVERLAY_DISP++, 0, 0, 0, 150, 255, interfaceCtx->aAlpha);