comparison mm7_3.cpp @ 866:7bd9beae3b8d

GameUI_WritePointedObjectStatusString crash fixed
author zipi
date Sun, 31 Mar 2013 23:01:10 +0100
parents 883221c72cf1
children 715064ae1792
comparison
equal deleted inserted replaced
865:883221c72cf1 866:7bd9beae3b8d
4766 v31->std__vector_000004_size = 0; 4766 v31->std__vector_000004_size = 0;
4767 LOBYTE(v31) = 0; 4767 LOBYTE(v31) = 0;
4768 if ( stru_F8AD28.uNumLightsApplied > 0 || pDecalBuilder->uNumDecals > 0 ) 4768 if ( stru_F8AD28.uNumLightsApplied > 0 || pDecalBuilder->uNumDecals > 0 )
4769 { 4769 {
4770 v31 = (LightmapBuilder *)(v50 ? 3 : v49 != 0 ? 5 : 0); 4770 v31 = (LightmapBuilder *)(v50 ? 3 : v49 != 0 ? 5 : 0);
4771 static_RenderBuildingsD3D_stru_73C834.GetFacePlaneAndClassify(pFace, (BSPVertexBuffer *)v56 - 1); 4771 static_RenderBuildingsD3D_stru_73C834.GetFacePlaneAndClassify(pFace, &v56->pVertices);
4772 if ( pDecalBuilder->uNumDecals > 0 ) 4772 if ( pDecalBuilder->uNumDecals > 0 )
4773 { 4773 {
4774 v40 = -1; 4774 v40 = -1;
4775 v39 = v31; 4775 v39 = v31;
4776 v38 = 0; 4776 v38 = 0;