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 | 9952ff0b597c3e9da0c9105cc6d2ab32e1ac7b8b (patch) | |
tree | 4628a0df8999b185f9edb643da5024f1ae22e3bc /misc.c | |
parent | a1a91eb7f7b9bc356e4a97f76fec2d58a5bf914a (diff) | |
download | openttd-9952ff0b597c3e9da0c9105cc6d2ab32e1ac7b8b.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); |