Mercurial > mm7
diff Render.cpp @ 792:41b4e9769863
Walking in BLV iproved drastically.
author | Nomad |
---|---|
date | Mon, 25 Mar 2013 07:32:38 +0200 |
parents | 346f7069676a |
children | f5156b8c61ad |
line wrap: on
line diff
--- a/Render.cpp Mon Mar 25 05:27:18 2013 +0200 +++ b/Render.cpp Mon Mar 25 07:32:38 2013 +0200 @@ -7809,6 +7809,15 @@ uCorrectedColor = 0xFFFFFFFF; pGame->AlterGamma_BLV(pFace, &uCorrectedColor); + + if (pFace->uAttributes & FACE_OUTLINED) + { + int color; + if (GetTickCount() % 300 >= 150) + uColor = uCorrectedColor = 0xFF20FF20; + else uColor = uCorrectedColor = 0xFF109010; + } + if (byte_4D864C && pGame->uFlags & 1) { __debugbreak();