From db03c5d5e813a3aeff576b69e16281ff751a7ae0 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Tue, 20 Dec 2005 21:24:50 +0000 Subject: (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). --- settings_gui.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'settings_gui.c') diff --git a/settings_gui.c b/settings_gui.c index e7c657204..822e65283 100644 --- a/settings_gui.c +++ b/settings_gui.c @@ -567,7 +567,10 @@ static int32 AiNew_PatchActive_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; } -- cgit v1.2.3-70-g09d2