1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-13 17:49:10 +00:00

(svn r3250) -Fix: AIs weren't uninitialized when a new game was loaded

This commit is contained in:
truelight
2005-11-30 16:10:19 +00:00
parent 6ed22fb3d4
commit 480b1575fe
2 changed files with 5 additions and 0 deletions

2
misc.c
View File

@@ -18,6 +18,7 @@
#include "engine.h"
#include "vehicle_gui.h"
#include "variables.h"
#include "ai/ai.h"
extern void StartupEconomy(void);
@@ -167,6 +168,7 @@ void InitializeGame(uint size_x, uint size_y)
InitializeTrains();
InitializeNPF();
AI_Initialize();
InitializePlayers();
InitializeCheats();