Mercurial > mm7
diff Render.cpp @ 149:2b0c652cc165
12.02.13
author | Ritor1 |
---|---|
date | Tue, 12 Feb 2013 10:17:11 +0600 |
parents | 77ad59c17864 |
children | d92c78ab54fe |
line wrap: on
line diff
--- a/Render.cpp Tue Feb 12 09:11:19 2013 +0600 +++ b/Render.cpp Tue Feb 12 10:17:11 2013 +0600 @@ -1,3 +1,5 @@ +#include <assert.h> + #include "Render.h" #include "OutdoorCamera.h" #include "IndoorCamera.h" @@ -1824,6 +1826,8 @@ memcpy(&array_50AC10[k], &array_73D150[k], sizeof(struct RenderVertexSoft)); array_50AC10[k].flt_20 = 1.0 / (array_73D150[k].vWorldViewPosition.x + 0.0000001000000011686097); } + + assert(v6 < 1000); // many random crashes here pRenderer->DrawTerrainPolygon(v8, pBitmaps_LOD->pHardwareTextures[v6]); --pOutdoorCamera->numStru148s; --pOutdoorCamera->field_44;