Changeset - r5332:7f7256e26048
[Not reviewed]
master
0 1 0
Darkvater - 18 years ago 2006-12-13 22:38:45
darkvater@openttd.org
(svn r7494) -Fix: Really disable AI's in Multiplayer if you tell it so. In loaded games with
AI's the setting didn't take effect, resulting in immediate desyncs.
1 file changed with 2 insertions and 2 deletions:
ai/ai.c
2
2
0 comments (0 inline, 0 general)
ai/ai.c
Show inline comments
 
@@ -170,8 +170,8 @@ void AI_RunGameLoop(void)
 
	/* Don't do anything if ai is disabled */
 
	if (!_ai.enabled) return;
 

	
 
	/* Don't do anything if we are a network-client */
 
	if (_networking && !_network_server) return;
 
	/* Don't do anything if we are a network-client, or the AI has been disabled */
 
	if (_networking && (!_network_server || !_patches.ai_in_multiplayer)) return;
 

	
 
	/* New tick */
 
	_ai.tick++;
0 comments (0 inline, 0 general)