changeset 1079:81a30c2e3e0a

DecalBuilder small error
author zipi
date Sat, 25 May 2013 20:31:16 +0100
parents b44dee7e70e8
children 6ea7c693a1cf
files DecalBuilder.cpp mm7_1.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/DecalBuilder.cpp	Sat May 25 20:18:23 2013 +0100
+++ b/DecalBuilder.cpp	Sat May 25 20:31:16 2013 +0100
@@ -449,6 +449,7 @@
 {
   double v7; // st7@12
 
+  uNumDecals = 0;  
   if (!pBloodsplatContainer->std__vector_pBloodsplats_size)
     return true;
   
@@ -458,7 +459,6 @@
     return true;
   if (pFace->Fluid())
     return true;
-
   for (uint i = 0; i < pBloodsplatContainer->std__vector_pBloodsplats_size; ++i)
   {
     auto pBloodsplat = pBloodsplatContainer->std__vector_pBloodsplats + i;
--- a/mm7_1.cpp	Sat May 25 20:18:23 2013 +0100
+++ b/mm7_1.cpp	Sat May 25 20:31:16 2013 +0100
@@ -1572,7 +1572,7 @@
   signed int ic; // [sp+24h] [bp-4h]@41
   signed int id; // [sp+24h] [bp-4h]@51
   signed int ie; // [sp+24h] [bp-4h]@61
-  return 0;
+
   v1 = &pIndoor->pFaces[uFaceID];
   //this = pGame->pIndoorCameraD3D;
   v2 = &pIndoor->pVertices[v1->pVertexIDs[0]];