Mercurial > mm7
comparison mm7_4.cpp @ 566:fcbb3c281217
QuickRef reputation string fix
author | Nomad |
---|---|
date | Tue, 05 Mar 2013 03:42:21 +0200 |
parents | 9caf59edb1ee |
children | f451efdb7c8b |
comparison
equal
deleted
inserted
replaced
565:e429ad557cda | 566:fcbb3c281217 |
---|---|
4804 // AE3370: using guessed type int dword_AE3370; | 4804 // AE3370: using guessed type int dword_AE3370; |
4805 | 4805 |
4806 //----- (00495430) -------------------------------------------------------- | 4806 //----- (00495430) -------------------------------------------------------- |
4807 char *__fastcall GetReputationString(signed int a1) | 4807 char *__fastcall GetReputationString(signed int a1) |
4808 { | 4808 { |
4809 char *result; // eax@2 | 4809 if (a1 >= 25) |
4810 | 4810 return pGlobalTXT_LocalizationStrings[379]; // Hated |
4811 if ( a1 < 25 ) | 4811 else if (a1 >= 6) |
4812 { | 4812 return pGlobalTXT_LocalizationStrings[392]; // Unfriendly |
4813 if ( a1 < 6 ) | 4813 else if (a1 >= -5) |
4814 { | 4814 return pGlobalTXT_LocalizationStrings[399]; // Neutral; |
4815 if ( a1 < -5 ) | 4815 else if (a1 >= -24) |
4816 { | 4816 return pGlobalTXT_LocalizationStrings[402]; // Friendly |
4817 result = pGlobalTXT_LocalizationStrings[402]; | |
4818 if ( a1 < -24 ) | |
4819 result = pGlobalTXT_LocalizationStrings[434]; | |
4820 } | |
4821 else | |
4822 { | |
4823 result = pGlobalTXT_LocalizationStrings[399]; | |
4824 } | |
4825 } | |
4826 else | |
4827 { | |
4828 result = pGlobalTXT_LocalizationStrings[392]; | |
4829 } | |
4830 } | |
4831 else | 4817 else |
4832 { | 4818 return pGlobalTXT_LocalizationStrings[434]; // Respected; |
4833 result = pGlobalTXT_LocalizationStrings[379]; | |
4834 } | |
4835 return result; | |
4836 } | 4819 } |
4837 | 4820 |
4838 //----- (00495461) -------------------------------------------------------- | 4821 //----- (00495461) -------------------------------------------------------- |
4839 char *BuilDialogueString(char *lpsz, unsigned __int8 uPlayerID, ItemGen *a3, char *a4, int a5, __int64 *a6) | 4822 char *BuilDialogueString(char *lpsz, unsigned __int8 uPlayerID, ItemGen *a3, char *a4, int a5, __int64 *a6) |
4840 { | 4823 { |