diff mm7_4.cpp @ 1372:5572e7b02f45

m
author Ritor1
date Mon, 15 Jul 2013 17:09:22 +0600
parents d6cf8ead9242
children b51332ab228f
line wrap: on
line diff
--- a/mm7_4.cpp	Mon Jul 15 15:03:56 2013 +0600
+++ b/mm7_4.cpp	Mon Jul 15 17:09:22 2013 +0600
@@ -3497,7 +3497,7 @@
         result = GetPortalScreenCoord(sFaceID);
         if ( result )
         {
-          result = sub_424829(result, &stru_F8A590, pBLVRenderParams->field_7C, v2);
+          result = PortalFrustrum(result, &stru_F8A590, pBLVRenderParams->field_7C, v2);
           if ( result )
           {
             result = (int)v3->GetTexture();
@@ -3962,7 +3962,7 @@
       v59 = GetPortalScreenCoord(uFaceID);
       v3 = v59;
     }
-    if ( v3 && (pRenderer->pRenderD3D || sub_424829(v3, &stru_F8A590, pBLVRenderParams->field_7C, v1)) )
+    if ( v3 && (pRenderer->pRenderD3D || PortalFrustrum(v3, &stru_F8A590, pBLVRenderParams->field_7C, v1)) )
     {
       v4 = v2->GetTexture();
       v5 = 0;