Fix battle test estimateCost bug (#3448)
This commit is contained in:
parent
8ab2fbd9a2
commit
8a6284c408
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ static u32 BattleTest_EstimateCost(void *data)
|
|||
{
|
||||
u32 cost;
|
||||
const struct BattleTest *test = data;
|
||||
memset(STATE, 0, sizeof(*STATE));
|
||||
STATE->runRandomly = TRUE;
|
||||
InvokeTestFunction(test);
|
||||
cost = 1;
|
||||
|
|
Loading…
Reference in a new issue