diff Outdoor.cpp @ 207:f96601c7e503

m
author Ritor1
date Sat, 16 Feb 2013 08:42:43 +0600
parents d65528fc3bda
children 07eb7d649bd5
line wrap: on
line diff
--- a/Outdoor.cpp	Fri Feb 15 22:58:53 2013 +0600
+++ b/Outdoor.cpp	Sat Feb 16 08:42:43 2013 +0600
@@ -2408,20 +2408,6 @@
   int v3; // esi@5
   unsigned int result; // eax@9
 
-
-/*    v3 = *(&this->pTerrain.pTilemap[128 * uZ] + uX);
-    if ( v3 < 198 )
-    {
-      if ( v3 >= 90 )
-        v3 = v3 + this->pTileTypes[(v3 - 90) / 36].uTileID - 36 * (v3 - 90) / 36 - 90;
-    }
-    else
-    {
-      v3 = v3 + this->pTileTypes[3].uTileID - 198;
-    }
-    result = pTileTable->pTiles[v3].uBitmapID;
-  }
-  return result;*/
    if ( uX < 0 || uX > 127 || uY < 0 || uY > 127)
    return 0;
 
@@ -2453,20 +2439,7 @@
 int OutdoorLocation::ActuallyGetSomeOtherTileInfo(unsigned int uX, unsigned int uY)
 {
   int v3; // esi@5
-  //int result; // eax@7
 
-/*  if ( (uX & 0x80000000u) != 0 || (signed int)uX > 127 || (uY & 0x80000000u) != 0 || (signed int)uY > 127 )
-  {
-    result = 0;
-  }
-  else
-  {
-    v3 = *(&this->pTerrain.pTilemap[128 * uY] + uX);
-    if ( v3 >= 90 )
-      v3 = v3 + this->pTileTypes[(v3 - 90) / 36].uTileID - 36 * (v3 - 90) / 36 - 90;
-    result = pTileTable->pTiles[v3].uAttributes;
-  }
-  return result;*/
   if (uX < 0 || uX > 127 || uY < 0 || uY > 127)
     return 0;
   else