Fix possible agbcc corruption for tree mutations (#4535)
This commit is contained in:
parent
dd0c3a9ee5
commit
f12773dbb8
1 changed files with 1 additions and 0 deletions
|
@ -2383,6 +2383,7 @@ static u8 GetTreeMutationValue(u8 id)
|
|||
return 0;
|
||||
myMutation.asField.a = tree->mutationA;
|
||||
myMutation.asField.b = tree->mutationB;
|
||||
myMutation.asField.unused = 0;
|
||||
return sBerryMutations[myMutation.value - 1][2];
|
||||
#else
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue