summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-08-06 16:07:22 +0000
committerbjarni <bjarni@openttd.org>2005-08-06 16:07:22 +0000
commited8e2bac048a6c4ba73e226b7a8332759bab0697 (patch)
tree4628a0df8999b185f9edb643da5024f1ae22e3bc /misc.c
parentddb58492f300333751d4054e3555845ddc3df307 (diff)
downloadopenttd-ed8e2bac048a6c4ba73e226b7a8332759bab0697.tar.xz
(svn r2817) -Codechange: [autoreplace]: moved autoreplace and autorenew to serverside
-This means that one company can only have one setting for renew and replacing more clients will not fight due to different settings anymore -This is a needed step in the line to fix autoreplacing dualheaded locomotives NOTE: savegame revision bump (peter1138 + me in coop)
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/misc.c b/misc.c
index 5e4b7ff46..9e32bd0d6 100644
--- a/misc.c
+++ b/misc.c
@@ -122,14 +122,8 @@ void ConvertGroundTilesIntoWaterTiles(void);
void InitializeGame(uint size_x, uint size_y)
{
- uint i;
-
AllocateMap(size_x, size_y);
- // Initialize the autoreplace array. Needs to be cleared between each game
- for (i = 0; i < lengthof(_autoreplace_array); i++)
- _autoreplace_array[i] = i;
-
AddTypeToEngines(); // make sure all engines have a type
SetObjectToPlace(SPR_CURSOR_ZZZ, 0, 0, 0);