mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-25 16:53:44 +00:00
cleanup
This commit is contained in:
parent
9187873396
commit
cc9398df14
2 changed files with 2 additions and 2 deletions
|
@ -221,7 +221,7 @@ COnscreenCounterEntry::ProcessForDisplayCounter()
|
||||||
if (m_bAddDollarPrefix)
|
if (m_bAddDollarPrefix)
|
||||||
sprintf(prefix, "$");
|
sprintf(prefix, "$");
|
||||||
#ifdef FIX_BUGS
|
#ifdef FIX_BUGS
|
||||||
char suffix[3] = { '\0' };
|
char suffix[4] = { '\0' };
|
||||||
#else
|
#else
|
||||||
char suffix[2] = { '\0' };
|
char suffix[2] = { '\0' };
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -570,7 +570,7 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
|
||||||
wchar* text = TheText.Get((char*)&CTheScripts::ScriptSpace[m_nIp]); // ???
|
wchar* text = TheText.Get((char*)&CTheScripts::ScriptSpace[m_nIp]); // ???
|
||||||
strncpy(onscreen_str, (char*)&CTheScripts::ScriptSpace[m_nIp], KEY_LENGTH_IN_SCRIPT);
|
strncpy(onscreen_str, (char*)&CTheScripts::ScriptSpace[m_nIp], KEY_LENGTH_IN_SCRIPT);
|
||||||
m_nIp += KEY_LENGTH_IN_SCRIPT;
|
m_nIp += KEY_LENGTH_IN_SCRIPT;
|
||||||
CUserDisplay::OnscnTimer.AddCounter(var, GET_INTEGER_PARAM(0), onscreen_str, GET_INTEGER_PARAM(1) - 1, -1, nil, 0); // TODO: last params are -1, nil, 0
|
CUserDisplay::OnscnTimer.AddCounter(var, GET_INTEGER_PARAM(0), onscreen_str, GET_INTEGER_PARAM(1) - 1, -1, nil, 0);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
case COMMAND_ADD_SET_PIECE:
|
case COMMAND_ADD_SET_PIECE:
|
||||||
|
|
Loading…
Reference in a new issue