changeset 2249:708aa31cad56

dword_F8B1B0_MasteryBeingTaught adding 2 else ifs
author Grumpy7
date Wed, 26 Feb 2014 01:20:07 +0100
parents 8c5855b842dc
children 3cc3a29f073b
files mm7_4.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mm7_4.cpp	Wed Feb 26 01:18:42 2014 +0100
+++ b/mm7_4.cpp	Wed Feb 26 01:20:07 2014 +0100
@@ -2089,12 +2089,12 @@
     sprintfex(pTmpBuf2.data(), pGlobalTXT_LocalizationStrings[534],//Получить степень ^Pr[%s] в навыке ^Pr[%s] за ^I[%lu] золот^L[ой;ых;ых]
               pGlobalTXT_LocalizationStrings[433], pSkillNames[dword_F8B1AC_award_bit_number], gold_transaction_amount);//Эксперт
   }
-  if ( masteryLevelBeingTaught == 3 )
+  else if ( masteryLevelBeingTaught == 3 )
   {
     sprintfex(pTmpBuf2.data(), pGlobalTXT_LocalizationStrings[534],
               pGlobalTXT_LocalizationStrings[432], pSkillNames[dword_F8B1AC_award_bit_number], gold_transaction_amount);//Мастер
   }
-  if ( masteryLevelBeingTaught == 4 )
+  else if ( masteryLevelBeingTaught == 4 )
     sprintfex(pTmpBuf2.data(), pGlobalTXT_LocalizationStrings[534],
               pGlobalTXT_LocalizationStrings[225], pSkillNames[dword_F8B1AC_award_bit_number], gold_transaction_amount);//Великий Магистр
   return pTmpBuf2.data();