mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 19:53:04 +08:00
[saco] Fix scoreboard.cpp and unkclass5.cpp; retail indexes field_51 stride-4, so it is the int[3]
This commit is contained in:
+3
-3
@@ -58,9 +58,9 @@ void CScoreBoard::ResetDialogControls(CDXUTDialog *pDialog)
|
||||
m_pListBox->OnInit();
|
||||
m_pListBox->GetElement(0)->TextureColor.Init(D3DCOLOR_ARGB( 200, 255, 255, 255 ));
|
||||
m_pListBox->field_4D = 3;
|
||||
m_pListBox->field_51 = field_24 * field_14;
|
||||
m_pListBox->field_59 = field_28 * field_14;
|
||||
m_pListBox->field_55 = field_2C * field_14;
|
||||
m_pListBox->field_51[0] = field_24 * field_14;
|
||||
m_pListBox->field_51[2] = field_28 * field_14;
|
||||
m_pListBox->field_51[1] = field_2C * field_14;
|
||||
m_pListBox->SetEnabled(false);
|
||||
m_pListBox->SetVisible(false);
|
||||
|
||||
|
||||
+2
-2
@@ -41,7 +41,7 @@ void CUnkClass5::ResetDialogControls(CDXUTDialog *pDialog)
|
||||
m_pListBox->SetEnabled(false);
|
||||
m_pListBox->SetVisible(false);
|
||||
m_pListBox->field_4D = 2;
|
||||
m_pListBox->field_51 = field_23C;
|
||||
m_pListBox->field_55 = field_240;
|
||||
m_pListBox->field_51[0] = field_23C;
|
||||
m_pListBox->field_51[1] = field_240;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user