diff mm7_3.cpp @ 619:574cc56e05e9

ParticleEngine crash in temple
author Nomad
date Fri, 08 Mar 2013 17:08:08 +0200
parents 5cfb5dadf330
children f6aeea3eb893
line wrap: on
line diff
--- a/mm7_3.cpp	Fri Mar 08 16:06:49 2013 +0200
+++ b/mm7_3.cpp	Fri Mar 08 17:08:08 2013 +0200
@@ -11207,7 +11207,7 @@
   signed __int64 v21; // qtt@20
   int v22; // edx@21
   int v23; // eax@21
-  Particle_ local_0; // [sp+Ch] [bp-A0h]@3
+  Particle_sw local_0; // [sp+Ch] [bp-A0h]@3
   double v25; // [sp+74h] [bp-38h]@19
   unsigned int v26; // [sp+7Ch] [bp-30h]@1
   int a2; // [sp+80h] [bp-2Ch]@5
@@ -11332,8 +11332,8 @@
     {
       memset(&local_0, 0, 0x68u);               // fire,  like at the Pit's tavern
       v5 = (double)v2->vPosition.x;
-      local_0.bFree = 1036;
-      local_0.uDiffuse = 0xFF3C1Eu;
+      local_0.type = ParticleType_Bitmap | ParticleType_Rotating | ParticleType_8;
+      local_0.uDiffuse = 0xFF3C1E;
       local_0.x = v5;
       local_0.y = (double)v2->vPosition.y;
       local_0.z = (double)v2->vPosition.z;