Mercurial > mm7
diff mm7_4.cpp @ 1344:65379a50e4eb
Portals in indoor (continue)
author | Ritor1 |
---|---|
date | Thu, 11 Jul 2013 17:47:12 +0600 |
parents | 8bfdc44cebfd |
children | b99aeb077d4f |
line wrap: on
line diff
--- a/mm7_4.cpp Fri Jul 05 17:37:30 2013 +0600 +++ b/mm7_4.cpp Thu Jul 11 17:47:12 2013 +0600 @@ -3494,7 +3494,7 @@ v91 = &pIndoor->pFaces[sFaceID]; if ( !pRenderer->pRenderD3D ) { - result = sub_423B5D(sFaceID); + result = GetPortalScreenCoord(sFaceID); if ( result ) { result = sub_424829(result, &stru_F8A590, pBLVRenderParams->field_7C, v2); @@ -3959,7 +3959,7 @@ } else { - v59 = sub_423B5D(uFaceID); + v59 = GetPortalScreenCoord(uFaceID); v3 = v59; } if ( v3 && (pRenderer->pRenderD3D || sub_424829(v3, &stru_F8A590, pBLVRenderParams->field_7C, v1)) )