diff options
author | bjarni <bjarni@openttd.org> | 2005-08-06 16:07:22 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2005-08-06 16:07:22 +0000 |
commit | ed8e2bac048a6c4ba73e226b7a8332759bab0697 (patch) | |
tree | 4628a0df8999b185f9edb643da5024f1ae22e3bc /misc.c | |
parent | ddb58492f300333751d4054e3555845ddc3df307 (diff) | |
download | openttd-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.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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); |