mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-04 09:55:53 +00:00
CFontRenderState: Eliminate sign conversion in SetColor()
Same behavior, minus a sign conversion warning.
This commit is contained in:
parent
32a4087f69
commit
6063ec2540
@ -26,7 +26,7 @@ void CFontRenderState::SetColor(EColorType tp, const CTextColor& col) {
|
||||
case EColorType::Main:
|
||||
case EColorType::Outline:
|
||||
case EColorType::Geometry:
|
||||
x54_colors[int(tp)] = col;
|
||||
x54_colors[size_t(tp)] = col;
|
||||
break;
|
||||
case EColorType::Foreground:
|
||||
x54_colors[0] = col;
|
||||
|
Loading…
x
Reference in New Issue
Block a user