diff mm7_2.cpp @ 495:90fdb47bfcba

guilds ...
author Gloval
date Thu, 28 Feb 2013 21:45:39 +0400
parents 59649750a054
children 0e20e886365d
line wrap: on
line diff
--- a/mm7_2.cpp	Thu Feb 28 18:18:52 2013 +0400
+++ b/mm7_2.cpp	Thu Feb 28 21:45:39 2013 +0400
@@ -3608,8 +3608,8 @@
 
 
 //----- (004BC8D5) --------------------------------------------------------
-Texture *__cdecl sub_4BC8D5()
-{
+void sub_4BC8D5()
+	{
   int v0; // esi@1
   char *v1; // ebx@1
   signed int v2; // edi@1
@@ -3619,7 +3619,7 @@
   Texture *result; // eax@15
   int v7; // [sp+10h] [bp-4h]@0
 
-  v0 = v7;
+ // v0 = v7;
   v1 = (char *)window_SpeakInHouse->ptr_1C - 139;
   v2 = 0;
   do
@@ -3668,11 +3668,10 @@
     _u->Reset();
     *(&pParty->pPlayers[1].pInstalledBeacons[0].field_18 + 9 * (v2 + 12 * (unsigned int)v5->ptr_1C)) = v0;
     *(&pParty->pPlayers[1].pInstalledBeacons[1].field_10 + 9 * (v2++ + 12 * (unsigned int)v5->ptr_1C)) = 1;
-    result = &pIcons_LOD->pTextures[pIcons_LOD->LoadTexture(pItemsTable->pItems[v0].pIconName, TEXTURE_16BIT_PALETTE)];
-    *(&dword_F8B164 + v2) = result;
+    *(&dword_F8B164 + v2) = &pIcons_LOD->pTextures[pIcons_LOD->LoadTexture(pItemsTable->pItems[v0].pIconName, TEXTURE_16BIT_PALETTE)];
   }
   while ( v2 < 12 );
-  return result;
+  return;
 }