dai_select_tech() using A_LAST instead of A_ARRAY_SIZE for array length
dai_select_tech():
int values[MAX(A_LAST, A_UNSET + 1)]; int goal_values[MAX(A_LAST, A_UNSET + 1)];
A_ARRAY_SIZE should be used instead of A_LAST in places like this. There's no hard bug at the moment, as 'A_UNSET + 1' is the bigger value anyway.
dai_select_tech():
A_ARRAY_SIZE should be used instead of A_LAST in places like this. There's no hard bug at the moment, as 'A_UNSET + 1' is the bigger value anyway.