diff ParticleEngine.cpp @ 323:d720a13e2273

Very basic picking & entering houses
author Nomad
date Wed, 20 Feb 2013 08:23:12 +0200
parents 8ab4484c22e0
children 7c0763248a87
line wrap: on
line diff
--- a/ParticleEngine.cpp	Wed Feb 20 04:36:14 2013 +0200
+++ b/ParticleEngine.cpp	Wed Feb 20 08:23:12 2013 +0200
@@ -468,10 +468,10 @@
   int uIDb; // [sp+58h] [bp+8h]@9
 
   v2 = this;
-  v3 = stru_5C6E00->SinCos(pIndoorCamera->sRotationX);
-  v44 = stru_5C6E00->SinCos(pIndoorCamera->sRotationX - stru_5C6E00->uIntegerHalfPi);
-  v4 = stru_5C6E00->SinCos(pIndoorCamera->sRotationY);
-  v5 = stru_5C6E00->SinCos(pIndoorCamera->sRotationY - stru_5C6E00->uIntegerHalfPi);
+  v3 = stru_5C6E00->Cos(pIndoorCamera->sRotationX);
+  v44 = stru_5C6E00->Sin(pIndoorCamera->sRotationX);
+  v4 = stru_5C6E00->Cos(pIndoorCamera->sRotationY);
+  v5 = stru_5C6E00->Sin(pIndoorCamera->sRotationY);
   v6 = &v2->pParticles[uID];
   if ( v6->uType )
   {