19 | text = (slot == OWNER_DEITY) ? STR_AI_CONFIG_NONE : STR_AI_CONFIG_RANDOM_AI;
| 19 | char name[1024];
|
---|
20 | // char name[1024];
| 20 | GetString(name, (slot == OWNER_DEITY) ? STR_AI_CONFIG_NONE : STR_AI_CONFIG_RANDOM_AI, lastof(name));
|
---|
21 | // GetString(name, (slot == OWNER_DEITY) ? STR_AI_CONFIG_NONE : STR_AI_CONFIG_RANDOM_AI, lastof(name));
| 21 | const char *script_name = stredup(name);
|
---|
22 | // const char *script_name = stredup(name);
| 22 | SetDParamStr(1, script_name);
|
---|
23 | // SetDParamStr(1, (slot == OWNER_DEITY) ? STR_AI_CONFIG_NONE : STR_AI_CONFIG_RANDOM_AI);
| | |
---|