Mercurial > mm7
diff mm7_3.cpp @ 866:7bd9beae3b8d
GameUI_WritePointedObjectStatusString crash fixed
author | zipi |
---|---|
date | Sun, 31 Mar 2013 23:01:10 +0100 |
parents | 883221c72cf1 |
children | 715064ae1792 |
line wrap: on
line diff
--- a/mm7_3.cpp Sun Mar 31 22:10:26 2013 +0100 +++ b/mm7_3.cpp Sun Mar 31 23:01:10 2013 +0100 @@ -4768,7 +4768,7 @@ if ( stru_F8AD28.uNumLightsApplied > 0 || pDecalBuilder->uNumDecals > 0 ) { v31 = (LightmapBuilder *)(v50 ? 3 : v49 != 0 ? 5 : 0); - static_RenderBuildingsD3D_stru_73C834.GetFacePlaneAndClassify(pFace, (BSPVertexBuffer *)v56 - 1); + static_RenderBuildingsD3D_stru_73C834.GetFacePlaneAndClassify(pFace, &v56->pVertices); if ( pDecalBuilder->uNumDecals > 0 ) { v40 = -1;