changeset 1309:995d2f8ad71b

small fix
author Ritor1
date Mon, 24 Jun 2013 21:05:10 +0600
parents ad903bb5b702
children 0665a061132b 03d6ea33a8c9
files Indoor.cpp mm7_2.cpp
diffstat 2 files changed, 1 insertions(+), 40 deletions(-) [+]
line wrap: on
line diff
--- a/Indoor.cpp	Mon Jun 24 18:59:39 2013 +0600
+++ b/Indoor.cpp	Mon Jun 24 21:05:10 2013 +0600
@@ -1304,17 +1304,7 @@
 
   auto pFace = &pIndoor->pFaces[uFaceID];
   auto p = &nodes[node_id];
-for (int i = 0; i < pIndoor->uNumFaces; ++i)
-{
-  if (pIndoor->pFaces[i].Portal())
-  {
-    if ( pIndoor->pFaces[i].uSectorID == nodes[0].uSectorID )
-	{
-      Log::Warning(L"portal id = %u", i);
-	  //pIndoor->pFaces[i].uBitmapID = 9;
-	}
-  }
-}
+
   if (!pFace->Portal())
   {
     if (num_faces < 1000)
--- a/mm7_2.cpp	Mon Jun 24 18:59:39 2013 +0600
+++ b/mm7_2.cpp	Mon Jun 24 21:05:10 2013 +0600
@@ -4299,35 +4299,6 @@
   pIcons_LOD->_4114F2();
 }
 
-void set_stru1_field_8_InArcomage(int inValue)
-{
-  switch(inValue)
-  {
-  case 91:LOBYTE(pArcomageGame->stru1.field_8) = 123;break;
-  case 92:LOBYTE(pArcomageGame->stru1.field_8) = 124;break;
-  case 93:LOBYTE(pArcomageGame->stru1.field_8) = 125;break;
-  case 96:LOBYTE(pArcomageGame->stru1.field_8) = 126;break;
-  case 61:LOBYTE(pArcomageGame->stru1.field_8) = 43;break;
-  case 55:LOBYTE(pArcomageGame->stru1.field_8) = 38;break;
-  case 56:LOBYTE(pArcomageGame->stru1.field_8) = 42;break;
-  case 57:LOBYTE(pArcomageGame->stru1.field_8) = 40;break;
-  case 59:LOBYTE(pArcomageGame->stru1.field_8) = 58;break;
-  case 54:LOBYTE(pArcomageGame->stru1.field_8) = 94;break;
-  case 50:LOBYTE(pArcomageGame->stru1.field_8) = 64;break;
-  case 51:LOBYTE(pArcomageGame->stru1.field_8) = 35;break;
-  case 52:LOBYTE(pArcomageGame->stru1.field_8) = 36;break;
-  case 53:LOBYTE(pArcomageGame->stru1.field_8) = 37;break;
-  case 49:LOBYTE(pArcomageGame->stru1.field_8) = 33;break;
-  case 39:LOBYTE(pArcomageGame->stru1.field_8) = 34;break;
-  case 44:LOBYTE(pArcomageGame->stru1.field_8) = 60;break;
-  case 46:LOBYTE(pArcomageGame->stru1.field_8) = 62;break;
-  case 47:LOBYTE(pArcomageGame->stru1.field_8) = 63;break;
-  case 48:LOBYTE(pArcomageGame->stru1.field_8) = 41;break;
-  default:LOBYTE(pArcomageGame->stru1.field_8) = inValue;break;
-  }
-}
-
-
 //----- (004637EB) --------------------------------------------------------
 int __stdcall aWinProc(HWND hWnd, UINT Msg, WPARAM wParam, unsigned int lParam)
 {