Bugfix Invalid Checksum alert

PK6 Object may be modified in parent form, resulting in invalid checksum
errors if the same PK6 is reloaded.

Solved by not passing object, pass raw data.
This commit is contained in:
Kaphotics
2016-03-12 09:12:51 -08:00
parent 019d074f0d
commit 5b87114a2a

View File

@@ -123,7 +123,7 @@ private void clickView(object sender, EventArgs e)
System.Media.SystemSounds.Exclamation.Play();
else
{
m_parent.populateFields(dataArr[index], false);
m_parent.populateFields(new PK6(dataArr[index].Data), false);
slotSelected = index + SCR_Box.Value * RES_MIN;
slotColor = Properties.Resources.slotView;
FillPKXBoxes(SCR_Box.Value);