Mercurial > mm7
comparison mm7_4.cpp @ 1226:33b30398e286
m
author | Ritor1 |
---|---|
date | Fri, 07 Jun 2013 22:24:11 +0600 |
parents | 15ad868d972f |
children | ac1b79c498a8 |
comparison
equal
deleted
inserted
replaced
1225:42b41aaecd87 | 1226:33b30398e286 |
---|---|
4474 if ( !pRenderer->pRenderD3D ) | 4474 if ( !pRenderer->pRenderD3D ) |
4475 { | 4475 { |
4476 result = sub_423B5D(sFaceID); | 4476 result = sub_423B5D(sFaceID); |
4477 if ( result ) | 4477 if ( result ) |
4478 { | 4478 { |
4479 result = sub_424829(result, &stru_F8A590, pBLVRenderParams->field_7C, v2); | 4479 result = isVisibleRoom(result, &stru_F8A590, pBLVRenderParams->field_7C, v2); |
4480 if ( result ) | 4480 if ( result ) |
4481 { | 4481 { |
4482 result = (int)v3->GetTexture(); | 4482 result = (int)v3->GetTexture(); |
4483 v4 = (Texture *)result; | 4483 v4 = (Texture *)result; |
4484 v96 = (Texture *)result; | 4484 v96 = (Texture *)result; |
4939 else | 4939 else |
4940 { | 4940 { |
4941 v59 = sub_423B5D(uFaceID); | 4941 v59 = sub_423B5D(uFaceID); |
4942 v3 = v59; | 4942 v3 = v59; |
4943 } | 4943 } |
4944 if ( v3 && (pRenderer->pRenderD3D || sub_424829(v3, &stru_F8A590, pBLVRenderParams->field_7C, v1)) ) | 4944 if ( v3 && (pRenderer->pRenderD3D || isVisibleRoom(v3, &stru_F8A590, pBLVRenderParams->field_7C, v1)) ) |
4945 { | 4945 { |
4946 v4 = v2->GetTexture(); | 4946 v4 = v2->GetTexture(); |
4947 v5 = 0; | 4947 v5 = 0; |
4948 if ( v4 ) | 4948 if ( v4 ) |
4949 { | 4949 { |