Create weak enum for PaletteIndex

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2025-04-09 16:47:22 +02:00
1 parent 6693278b7f
commit cfb4b008b2
16 files changed
+200 -200

No files matched your search

+1 -1
View File
@@ -201,7 +201,7 @@ void ChatDraw(DrawPixelInfo& dpi, ColourWithFlags chatBackgroundColor)
int32_t caretX = screenCoords.x + GfxGetStringWidth(lineBuffer, FontStyle::Medium);
int32_t caretY = screenCoords.y + 14;
GfxFillRect(dpi, { { caretX, caretY }, { caretX + 6, caretY + 1 } }, PALETTE_INDEX_56);
GfxFillRect(dpi, { { caretX, caretY }, { caretX + 6, caretY + 1 } }, PaletteIndex::pi56);
}
}
}