mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 09:34:08 +00:00
EmergencyPed, PedDebug, message fix
This commit is contained in:
parent
ff2665942e
commit
86002b093f
4 changed files with 72 additions and 38 deletions
|
@ -390,12 +390,11 @@ CMessages::InsertNumberInString(wchar *str, int32 n1, int32 n2, int32 n3, int32
|
|||
if (str[c] == '~' && str[c + 1] == '1' && str[c + 2] == '~') {
|
||||
#endif
|
||||
c += 3;
|
||||
for (int j = 0; j < outLen; j++)
|
||||
for (int j = 0; j < outLen; )
|
||||
*(outstr++) = wNumStr[j++];
|
||||
|
||||
i++;
|
||||
switch (i) {
|
||||
case 0: sprintf(numStr, "%d", n1); break;
|
||||
case 1: sprintf(numStr, "%d", n2); break;
|
||||
case 2: sprintf(numStr, "%d", n3); break;
|
||||
case 3: sprintf(numStr, "%d", n4); break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue