diff Render.cpp @ 77:7ad8eaa172c5

Rotate fixed
author Ritor1
date Mon, 28 Jan 2013 23:46:41 +0600
parents 6ef241d53522
children ec84db4c8f9d 41145af69341
line wrap: on
line diff
--- a/Render.cpp	Mon Jan 28 14:52:18 2013 +0600
+++ b/Render.cpp	Mon Jan 28 23:46:41 2013 +0600
@@ -1003,7 +1003,7 @@
   __int16 v103; // [sp+10h] [bp-64h]@190
   __int16 v104; // [sp+12h] [bp-62h]@190
   } v102;
-  int pHeight; // [sp+1Ch] [bp-58h]@1
+  int v105; // [sp+1Ch] [bp-58h]@1
   int v106; // [sp+20h] [bp-54h]@3
   int v107; // [sp+24h] [bp-50h]@3
   int v108; // [sp+28h] [bp-4Ch]@9
@@ -1026,7 +1026,7 @@
   int v125; // [sp+6Ch] [bp-8h]@9
   int v126; // [sp+70h] [bp-4h]@9
 
-  pHeight = pIndoorCamera->sRotationY / ((signed int)stru_5C6E00->uIntegerHalfPi / 2);
+  v105 = pIndoorCamera->sRotationY / ((signed int)stru_5C6E00->uIntegerHalfPi / 2);
   v0 = stru_5C6E00->uDoublePiMask & (stru_5C6E00->uIntegerDoublePi - pIndoorCamera->sRotationY);
   v1 = stru_5C6E00->uDoublePiMask & (stru_5C6E00->uIntegerPi + v0);
   v124 = ((pIndoorCamera->uMapGridCellX << 16) + 3 * stru_5C6E00->SinCos(
@@ -1151,7 +1151,7 @@
   v126 = 0;
   v17 = v117 - 1;
   v18 = v116 - 1;
-  switch ( pHeight )
+  switch ( v105 )
   {
     case 0:
     case 7:
@@ -1568,7 +1568,7 @@
   ptr_801A08 = pVerticesSR_806210;
   ptr_801A04 = pVerticesSR_801A10;
   v126 = v69;
-  if ( pHeight && pHeight != 7 && pHeight != 3 && pHeight != 4 )
+  if ( v105 && v105 != 7 && v105 != 3 && v105 != 4 )
   {
     for ( i = v69; i >= 1; --i )
     {