diff mm7_4.cpp @ 1226:33b30398e286

m
author Ritor1
date Fri, 07 Jun 2013 22:24:11 +0600
parents 15ad868d972f
children ac1b79c498a8
line wrap: on
line diff
--- a/mm7_4.cpp	Wed Jun 05 21:00:45 2013 +0600
+++ b/mm7_4.cpp	Fri Jun 07 22:24:11 2013 +0600
@@ -4476,7 +4476,7 @@
         result = sub_423B5D(sFaceID);
         if ( result )
         {
-          result = sub_424829(result, &stru_F8A590, pBLVRenderParams->field_7C, v2);
+          result = isVisibleRoom(result, &stru_F8A590, pBLVRenderParams->field_7C, v2);
           if ( result )
           {
             result = (int)v3->GetTexture();
@@ -4941,7 +4941,7 @@
       v59 = sub_423B5D(uFaceID);
       v3 = v59;
     }
-    if ( v3 && (pRenderer->pRenderD3D || sub_424829(v3, &stru_F8A590, pBLVRenderParams->field_7C, v1)) )
+    if ( v3 && (pRenderer->pRenderD3D || isVisibleRoom(v3, &stru_F8A590, pBLVRenderParams->field_7C, v1)) )
     {
       v4 = v2->GetTexture();
       v5 = 0;