diff Render.cpp @ 1344:65379a50e4eb

Portals in indoor (continue)
author Ritor1
date Thu, 11 Jul 2013 17:47:12 +0600
parents 9749edd941c6
children 613c77e51e38
line wrap: on
line diff
--- a/Render.cpp	Fri Jul 05 17:37:30 2013 +0600
+++ b/Render.cpp	Thu Jul 11 17:47:12 2013 +0600
@@ -566,7 +566,7 @@
     return;
 
   array_77EC08[1999]._48607B(&stru_8019C8);
-  array_77EC08[1999].ptr_38->_48694B();
+  array_77EC08[1999].ptr_38->sky_48694B();
 
   if (pOutdoor->uMainTile_BitmapID == -1)
   {
@@ -589,7 +589,7 @@
   cos((double)pIndoorCamera->sRotationX * 0.0030664064);
   sin((double)pIndoorCamera->sRotationX * 0.0030664064);
   array_77EC08[1999]._48607B(&stru_8019C8);
-  array_77EC08[1999].ptr_38->_48694B();
+  array_77EC08[1999].ptr_38->sky_48694B();
 
   if (pOutdoor->uSky_TextureID == -1)
   {
@@ -1727,9 +1727,9 @@
 //--------------------------------------------------------------------------------------------------------------------
 
   //
-  for (unsigned int z = 0; z < 128; ++z)
-  {
-    for (unsigned int x = 0; x < 128; ++x)
+  for (unsigned int z = 0; z < 127; ++z)
+  {
+    for (unsigned int x = 0; x < 127; ++x)
     {
       pTile = &array_77EC08[pOutdoorCamera->numStru148s];
       pTile->flags = 0;