diff mm7_4.cpp @ 762:cf2fbac6edc9

Misc cleaning
author Nomad
date Sat, 23 Mar 2013 19:47:01 +0200
parents 9f7db515a8d7
children a84db04439a4
line wrap: on
line diff
--- a/mm7_4.cpp	Sat Mar 23 13:40:00 2013 +0200
+++ b/mm7_4.cpp	Sat Mar 23 19:47:01 2013 +0200
@@ -7112,7 +7112,7 @@
 }
 
 //----- (004B1523) --------------------------------------------------------
-char *__thiscall sub_4B1523(int *_this)
+void __thiscall sub_4B1523(int *_this)
 {
   int v1; // esi@1
   int v2; // edx@1
@@ -7178,7 +7178,7 @@
   a1.uFrameWidth = 108;
   a1.DrawTitleText(pFontComic, 0xCu, 0x4Bu, 0, pSkillNames[v11 / 4 + 12], 3u);
   sprintf(pTmpBuf, "%s\n%d", pGlobalTXT_LocalizationStrings[522], *(&pSpellDatas[0].uNormalLevelMana + 10 * v1));
-  return a1.DrawTitleText(pFontComic, 0xCu, a1.uFrameHeight - LOBYTE(pFontComic->uFontHeight) - 16, 0, pTmpBuf, 3);
+  a1.DrawTitleText(pFontComic, 0xCu, a1.uFrameHeight - LOBYTE(pFontComic->uFontHeight) - 16, 0, pTmpBuf, 3);
 }
 
 
@@ -8167,7 +8167,7 @@
 
 
 //----- (004B2A74) --------------------------------------------------------
-char __cdecl SimpleHouseAndBoatsDialog()
+void SimpleHouseAndBoatsDialog()
 {
   char *v0; // esi@3
   char *v1; // ST1C_4@3
@@ -8248,8 +8248,8 @@
     }
     v3 = v2;
     v4 = pFontCreate->CalcTextHeight(v2, &a1, 0, 0);
-    LOBYTE(i) = (unsigned int)a1.DrawTitleText(pFontCreate, 0, (212 - v4) / 2 + 101, 0, v3, 3u);
-    return i;
+    a1.DrawTitleText(pFontCreate, 0, (212 - v4) / 2 + 101, 0, v3, 3u);
+    return;
   }
   a1.uFrameWidth -= 10;
   a1.uFrameZ -= 10;
@@ -8488,9 +8488,8 @@
       (uTextureID_Leather != -1 ? pIcons_LOD->pTextures[uTextureID_Leather].uTextureHeight : 26) - v48);
     pRenderer->DrawTextureIndexed(8u, 347 - v48, pTexture_591428);
     v49 = FitTextInAWindow(ptr_F8B1E8, v47, &w, 0xDu, 0);
-    LOBYTE(i) = a1.DrawText(v47, 13, 354 - v48, 0, v49, 0, 0, 0);
-  }
-  return i;
+    a1.DrawText(v47, 13, 354 - v48, 0, v49, 0, 0, 0);
+  }
 }