Changeset - r4580:d7183e255610
[Not reviewed]
master
0 1 0
bjarni - 18 years ago 2006-09-08 19:38:12
bjarni@openttd.org
(svn r6430) -Fix r6424: fixed failure to init the whole array of engines when starting a new player
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
players.c
Show inline comments
 
@@ -520,7 +520,7 @@ Player *DoStartupNewPlayer(bool is_ai)
 
	if (is_ai && (!_networking || _network_server) && _ai.enabled)
 
		AI_StartNewAI(p->index);
 

	
 
	memset(p->num_engines, 0, TOTAL_NUM_ENGINES);
 
	memset(p->num_engines, 0, sizeof(p->num_engines));
 

	
 
	return p;
 
}
0 comments (0 inline, 0 general)