Fix other half of trainer editing bug

Oops.
This commit is contained in:
Kurt
2015-12-28 13:23:35 -08:00
parent 73ce0246ab
commit b2c4a686b6

View File

@@ -587,7 +587,7 @@ private void changeStat(object sender, EventArgs e)
private void changeStatVal(object sender, EventArgs e)
{
if (editing) return;
int offset = Convert.ToInt32(statdata[CB_Stats.SelectedIndex * 2].Substring(2));
int offset = Convert.ToInt32(statdata[CB_Stats.SelectedIndex * 2].Substring(2), 16);
SAV.setPSSStat(offset/4, UInt32.Parse(MT_Stat.Text));
}
private void giveAllAccessories(object sender, EventArgs e)