comparison stru9.cpp @ 436:4a42c2f97aa2

some itemgen crashes fixed
author Gloval
date Sun, 24 Feb 2013 10:13:00 +0400
parents ee11772d0ad2
children 687b4365ee84
comparison
equal deleted inserted replaced
435:4f451a616d3d 436:4a42c2f97aa2
225 } 225 }
226 226
227 //----- (00498737) -------------------------------------------------------- 227 //----- (00498737) --------------------------------------------------------
228 void stru9::AddVertex(struct VertexBuffer *pVertexBuffer, struct RenderVertexSoft *pVertex) 228 void stru9::AddVertex(struct VertexBuffer *pVertexBuffer, struct RenderVertexSoft *pVertex)
229 { 229 {
230 __debugbreak(); 230 // __debugbreak();
231 RenderVertexSoft *v3; // eax@1 231 RenderVertexSoft *v3; // eax@1
232 232
233 v3 = &pVertexBuffer->pVertices[pVertexBuffer->uNumVertices]; 233 v3 = &pVertexBuffer->pVertices[pVertexBuffer->uNumVertices];
234 v3->vWorldPosition.x = pVertex->vWorldPosition.x; 234 v3->vWorldPosition.x = pVertex->vWorldPosition.x;
235 v3->vWorldPosition.y = pVertex->vWorldPosition.y; 235 v3->vWorldPosition.y = pVertex->vWorldPosition.y;