3 | StringID change = STR_AI_CONFIG_CHANGE;
| 3 | static const StringID param[] = {STR_AI_CONFIG_GAMESCRIPT, STR_AI_CONFIG_NONE, STR_AI_CONFIG_AI};
|
---|
4 | StringID _param[] = { STR_AI_CONFIG_GAMESCRIPT, STR_AI_CONFIG_NONE, STR_AI_CONFIG_AI };
| 4 | for (int i = 0; i < lengthof(param); i++) {
|
---|
5 | for (int i = 0; i < 3; i++) {
| 5 | SetDParam(0, param[i]);
|
---|
6 | SetDParam(0, _param[i]);
| 6 | change_width = max(change_width, GetStringBoundingBox(STR_AI_CONFIG_CHANGE).width);
|
---|
7 | change_width = max(change_width, GetStringBoundingBox(change).width);
| | |
---|