Mercurial > mm7
diff Render.cpp @ 619:574cc56e05e9
ParticleEngine crash in temple
author | Nomad |
---|---|
date | Fri, 08 Mar 2013 17:08:08 +0200 |
parents | f2697c2b4109 |
children | 71ecba604995 |
line wrap: on
line diff
--- a/Render.cpp Fri Mar 08 16:06:49 2013 +0200 +++ b/Render.cpp Fri Mar 08 17:08:08 2013 +0200 @@ -3506,7 +3506,7 @@ __int16 v29; // cx@37 int v30; // ecx@37 int v31; // ebx@37 - Particle_ local_0; // [sp+Ch] [bp-98h]@7 + Particle_sw local_0; // [sp+Ch] [bp-98h]@7 int x; // [sp+74h] [bp-30h]@9 int y; // [sp+78h] [bp-2Ch]@9 //int v35; // [sp+7Ch] [bp-28h]@1 @@ -3700,8 +3700,8 @@ { memset(&local_0, 0, 0x68u); v3 = (double)*((signed int *)v0 - 1); - local_0.bFree = 1036; - local_0.uDiffuse = 0xFF3C1Eu; + local_0.type = ParticleType_Bitmap | ParticleType_Rotating | ParticleType_8; + local_0.uDiffuse = 0xFF3C1E; local_0.x = v3; local_0.y = (double)*(signed int *)v0; local_0.z = (double)*((signed int *)v0 + 1);