CMapUniverse: Resolve sign conversion warning in Draw()

Resolves a trivial implicit sign conversion warning.
This commit is contained in:
Lioncash 2020-03-13 16:11:38 -04:00
parent 014601cf67
commit ddcbf51260
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ void CMapUniverse::Draw(const CMapUniverseDrawParms& parms, const zeus::CVector3
if (!mwInfo.IsAnythingSet()) if (!mwInfo.IsAnythingSet())
continue; continue;
zeus::CColor surfColor, outlineColor; zeus::CColor surfColor, outlineColor;
if (w == parms.GetFocusWorldIndex()) { if (s32(w) == parms.GetFocusWorldIndex()) {
surfColor = data.GetSurfaceColorSelected(); surfColor = data.GetSurfaceColorSelected();
surfColor.a() *= parms.GetAlpha(); surfColor.a() *= parms.GetAlpha();
outlineColor = data.GetOutlineColorSelected(); outlineColor = data.GetOutlineColorSelected();