Mercurial > mm7
diff UI/UIPopup.cpp @ 2132:49de109bbab5
SavePCXScreenshot() continue
author | Ritor1 |
---|---|
date | Sun, 29 Dec 2013 01:26:15 +0600 |
parents | 7810cb3a5fb7 |
children | d28d3c006077 |
line wrap: on
line diff
--- a/UI/UIPopup.cpp Sat Dec 28 16:49:21 2013 +0600 +++ b/UI/UIPopup.cpp Sun Dec 29 01:26:15 2013 +0600 @@ -125,6 +125,10 @@ int v85; char *Str; // [sp+270h] [bp-8h]@65 + int r_mask = 0xF800; + int g_mask = 0x7E0; + int b_mask = 0x1F; + if (!inspect_item->uItemID) return; iteminfo_window.Hint = 0; @@ -409,7 +413,7 @@ } pText = pGlobalTXT_LocalizationStrings[651]; //"Hardened" } - LOWORD(inspect_item->uAttributes) = LOWORD(pRenderer->uTargetRMask); + LOWORD(inspect_item->uAttributes) = r_mask; iteminfo_window.DrawText(pFontComic, pFontComic->GetLineWidth(pTmpBuf.data()) + 132, iteminfo_window.uFrameHeight - LOBYTE(pFontComic->uFontHeight), inspect_item->uAttributes, pText, 0, 0, 0); pRenderer->ResetTextureClipRect();