diff mm7_4.cpp @ 721:f39d5902c85a

m
author Ritor1
date Wed, 20 Mar 2013 17:48:51 +0600
parents 05f7a11f4f20
children 70c5a87a1307
line wrap: on
line diff
--- a/mm7_4.cpp	Tue Mar 19 23:41:29 2013 +0600
+++ b/mm7_4.cpp	Wed Mar 20 17:48:51 2013 +0600
@@ -10068,7 +10068,7 @@
     v2 = pTransitionStrings[uHouse_ExitPic];
     if ( !v2 )
     {
-      sprintf(pTmpBuf, pGlobalTXT_LocalizationStrings[411], v0);
+      sprintfex(pTmpBuf, pGlobalTXT_LocalizationStrings[411], v0);
       v2 = pTmpBuf;
     }
     v3 = v2;
@@ -12279,10 +12279,7 @@
       v14 = pMapStats->GetMapInfo(pCurrentMapName);
       if ( v14 )
       {
-        v20 = pMapStats->pInfos[v14].pName;
-        v18 = pGlobalTXT_LocalizationStrings[410];
-LABEL_10:
-        sprintf(sHouseName, v18, v20);
+        sprintfex(sHouseName, pGlobalTXT_LocalizationStrings[410], pMapStats->pInfos[v14].pName);
         goto LABEL_20;
       }
       v21 = pGlobalTXT_LocalizationStrings[79];
@@ -12295,9 +12292,8 @@
   v16 = pMapStats->GetMapInfo(v15);
   if ( v16 )
   {
-    v20 = pMapStats->pInfos[v16].pName;
-    v18 = pGlobalTXT_LocalizationStrings[411];
-    goto LABEL_10;
+    sprintfex(sHouseName, pGlobalTXT_LocalizationStrings[411], pMapStats->pInfos[v16].pName);
+    goto LABEL_20;
   }
   v21 = pGlobalTXT_LocalizationStrings[73];
 LABEL_19: