diff _deleted.cpp @ 2006:30c2b575d25c

signed fixes DamagePlayerFromMonster -1 indexing
author zipi
date Wed, 06 Nov 2013 13:06:02 +0000
parents 985fff9fb62d
children b123afb8246b
line wrap: on
line diff
--- a/_deleted.cpp	Wed Nov 06 00:09:47 2013 -0800
+++ b/_deleted.cpp	Wed Nov 06 13:06:02 2013 +0000
@@ -2122,13 +2122,13 @@
   array_77EC08[1999].Create_48607B(&stru_8019C8);
   array_77EC08[1999].ptr_38->_48694B_frustum_sky();
 
-  if (pOutdoor->uMainTile_BitmapID == -1)
+  if (pOutdoor->sMainTile_BitmapID == -1)
   {
     array_77EC08[1999].pTexture = nullptr;
     return;
   }
   else
-    array_77EC08[1999].pTexture = pBitmaps_LOD->GetTexture(pOutdoor->uMainTile_BitmapID);
+    array_77EC08[1999].pTexture = pBitmaps_LOD->GetTexture(pOutdoor->sMainTile_BitmapID);
   array_77EC08[1999].dimming_level = 23 - (-20 * pOutdoor->vSunlight.z >> 16);
   if ( array_77EC08[1999].dimming_level > 20 )
     array_77EC08[1999].dimming_level = 20;
@@ -2145,13 +2145,13 @@
   array_77EC08[1999].Create_48607B(&stru_8019C8);
   array_77EC08[1999].ptr_38->_48694B_frustum_sky();
 
-  if (pOutdoor->uSky_TextureID == -1)
+  if (pOutdoor->sSky_TextureID == -1)
   {
     array_77EC08[1999].pTexture = nullptr;
     return;
   }
   else
-    array_77EC08[1999].pTexture = pBitmaps_LOD->GetTexture(pOutdoor->uSky_TextureID);
+    array_77EC08[1999].pTexture = pBitmaps_LOD->GetTexture(pOutdoor->sSky_TextureID);
   array_77EC08[1999].dimming_level = 0;
   v11 = stru_5C6E00->Sin(pIndoorCamera->sRotationX + 16);
   array_77EC08[1999].v_18.y = 0;