Mercurial > might-and-magic-trilogy
diff Render.cpp @ 147:1d44b914b7bd
21.11.12
author | Ritor1 |
---|---|
date | Wed, 21 Nov 2012 09:26:38 +0600 |
parents | 05b2d9653abc |
children | 13b2a2cd4552 |
line wrap: on
line diff
--- a/Render.cpp Mon Nov 19 09:41:32 2012 +0600 +++ b/Render.cpp Wed Nov 21 09:26:38 2012 +0600 @@ -1838,8 +1838,8 @@ v5 = abs(X); v6 = abs(v83); --X; - v93 = &stru_76E5C8[(v5 << 7) + v6]; - if ( !v93->field_0 || ((v7 = 48 * v4, v8 = &pVerticesSR_806210[v4], a2 = v8, !v82) ? (v9 = (RenderVertexSoft *)((char *)&pVerticesSR_801A10 + v7), + v93 = &stru_76E5C8[(v5 << 7) + v6]; + if ( !v93->field_0 || ((v7 = 48 * v4, v8 = &pVerticesSR_806210[v4], a2 = v8, !v82) ? (v9 = (RenderVertexSoft *)((char *)&pVerticesSR_801A10 + v7), v10 = &pVerticesSR_806210[1] + v7) : (v9 = &pVerticesSR_806210[1] + v7, v10 = (RenderVertexSoft *)((char *)&pVerticesSR_801A10 + v7)), ((a8 = v9, pVertices = &pVerticesSR_801A10[1] + v7, @@ -4640,7 +4640,7 @@ memset(&v3, 0, sizeof(DDBLTFX)); if (pVersion->pVersionInfo.dwPlatformId != VER_PLATFORM_WIN32_NT || - pVersion->pVersionInfo.dwMajorVersion >= 5) + pVersion->pVersionInfo.dwMajorVersion != 4) { x.left = uWindowX; x.right = uWindowX + uWindowHeight;