mirror of https://github.com/OpenTTD/OpenTTD
(svn r3323) - Fix: automatically enable new AI when turning on the AI in multiplayer feature (it only works that way and we all know users don't read).
parent
0f41b99c5e
commit
db03c5d5e8
|
@ -1174,9 +1174,9 @@ STR_RAIL_CAN_T_REFIT_VEHICLE :{WHITE}Can't re
|
||||||
STR_CONFIG_PATCHES_SERVINT_ISPERCENT :{LTBLUE}Service intervals are in percents: {ORANGE}{STRING1}
|
STR_CONFIG_PATCHES_SERVINT_ISPERCENT :{LTBLUE}Service intervals are in percents: {ORANGE}{STRING1}
|
||||||
STR_CONFIG_GAME_PRODUCTION :{WHITE}Change production
|
STR_CONFIG_GAME_PRODUCTION :{WHITE}Change production
|
||||||
|
|
||||||
TEMP_AI_IN_PROGRESS :{WHITE}Welcome to this new AI, a work in progress. You should expect problems. When you happen take a screenshot and post it in the forum. Enjoy!
|
TEMP_AI_IN_PROGRESS :{WHITE}Welcome to the new AI under development. If you encounter problems, take a screenshot and post it in the forum.
|
||||||
TEMP_AI_ACTIVATED :{WHITE}Warning: this new AI is still alpha! Currently, only trucks and busses work!
|
TEMP_AI_ACTIVATED :{WHITE}Warning: this new AI is still alpha! Currently, only trucks and busses work!
|
||||||
TEMP_AI_MULTIPLAYER :{WHITE}Warning: this function is still experimental. Please report any problems with it to truelight@openttd.org.
|
TEMP_AI_MULTIPLAYER :{WHITE}Warning: implementation is still experimental (using new AI). Please report any problems to truelight@openttd.org.
|
||||||
|
|
||||||
############ network gui strings
|
############ network gui strings
|
||||||
|
|
||||||
|
|
|
@ -567,7 +567,10 @@ static int32 AiNew_PatchActive_Warning(int32 p1)
|
||||||
|
|
||||||
static int32 Ai_In_Multiplayer_Warning(int32 p1)
|
static int32 Ai_In_Multiplayer_Warning(int32 p1)
|
||||||
{
|
{
|
||||||
if (p1 == 1) ShowErrorMessage(INVALID_STRING_ID, TEMP_AI_MULTIPLAYER, 0, 0);
|
if (p1 == 1) {
|
||||||
|
ShowErrorMessage(INVALID_STRING_ID, TEMP_AI_MULTIPLAYER, 0, 0);
|
||||||
|
_patches.ainew_active = true;
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue