Wed, 09 Jul 2008 19:30:44 +0000(svn r13689) [0.6] -Backport from trunk: 0.6
rubidium [Wed, 09 Jul 2008 19:30:44 +0000] rev 11131
(svn r13689) [0.6] -Backport from trunk:
- Fix: Server crashing when banning the rconning client (r13661)
- Fix: Incorrect usage of strtoul (r13508)
- Fix: Crash when one tries to raise the nothern corner of MP_VOID tiles (i.e. the southern corner of the tiles on the southern map edge) in the scenario editor [FS#2106] (r13624)
- Fix: Division by zero when one would press 'd' (skip order) when there's no order (r13409)

Wed, 09 Jul 2008 19:20:50 +0000(svn r13688) [0.6] -Backport from trunk: 0.6
rubidium [Wed, 09 Jul 2008 19:20:50 +0000] rev 11130
(svn r13688) [0.6] -Backport from trunk:
- Fix: If the first bridge can not be build for a given length, then none of the other bridges can. Effectively meaning that if someone replaces the first bridge with a bridge that can be only 3 tiles longs then only other bridges that can be 3 tiles long will be buildable, but only if they are 3 tiles long [FS#2100] (r13611)
- Fix: [OSX] 10.5 failed to switch to fullscreen (r13584)
- Fix: Properly count number of non-north housetiles [FS#2083] (r13518)
- Fix: Drawing of zoomed out partial sprites could cause deadlocks or crashes (r13502)

Wed, 09 Jul 2008 19:15:43 +0000(svn r13687) [0.6] -Backport from trunk: 0.6
rubidium [Wed, 09 Jul 2008 19:15:43 +0000] rev 11129
(svn r13687) [0.6] -Backport from trunk:
- Fix: Signals were not updated correctly when a player removed a non-existing track piece (r13626)
- Fix: Signal states could be propagated through waypoints built in orthogonal axis (r13589)
- Fix: Track was not removed on company bankrupcy when there was a ship on lower halftile (r13488)
- Fix: Let ships also navigate on half-tile sloped watery rail tiles (r13485)

Wed, 09 Jul 2008 19:13:21 +0000(svn r13686) [0.6] -Backport from trunk: 0.6
rubidium [Wed, 09 Jul 2008 19:13:21 +0000] rev 11128
(svn r13686) [0.6] -Backport from trunk:
- Fix: Memory leak when NewGRFs got forcefully disabled and they defined GOTO labels (r13675)
- Fix: Crash when drawing a non-real sprite caused by NewGRF interference [FS#2127] (r13674)
- Fix: Disable static NewGRFs when non-static NewGRFs query them in the context of network games. This makes it impossible for static NewGRFs to disable non-static NewGRFs and 'bad' things happening because the non-static NewGRF doesn't know about the static NewGRF (r13576)
- Fix: First determine where to *exactly* build a house before asking a NewGRF whether the location is good instead of possibly moving the house a tile after the NewGRF said the location is good (r13489)
- Fix: Do not crash when resolving vehicle sprite groups with zero sprites (r13397)
- Fix: In the purchase list, CB36 for capacity was not called for the first part of rail and road vehicles (r13385)

Wed, 09 Jul 2008 18:59:39 +0000(svn r13685) [0.6] -Backport from trunk: 0.6
rubidium [Wed, 09 Jul 2008 18:59:39 +0000] rev 11127
(svn r13685) [0.6] -Backport from trunk:
- Fix: In the case that elrails and 'realistic' acceleration are disabled all electrified engines would have no power on load, until the vehicle got turned around, loaded or got into a depot [FS#2102] (r13681)
- Fix: Saving TTD imported games in recession failed due to wrong (and unneeded) type conversions in the saveload code [FS#2131] (r13679)
- Fix: Inactive companies from old (TTD) saves could be marked active in some cases, which then loads garbage in their statistics and such [FS#2126] (r13676)
- Fix: Desync when building electrified trains on a dedicated server that was started with electrification disabled [FS#2122] (r13673)
- Fix: Clear the memory for the new AI during the loading of a savegame so it does not try to execute commands generated in a different savegame, which could be resulting in the AI trying to give orders to stations that do not exist (r13505)
- Fix: Loading of very old OpenTTD savegames was broken (r13373)

Wed, 09 Jul 2008 13:32:13 +0000(svn r13684) [NoAI] -Sync: with trunk r13599:13683. noai
rubidium [Wed, 09 Jul 2008 13:32:13 +0000] rev 11126
(svn r13684) [NoAI] -Sync: with trunk r13599:13683.

Wed, 09 Jul 2008 02:18:51 +0000(svn r13683) -Codechange: privatize a function that is not used outside of the class who calls it
belugas [Wed, 09 Jul 2008 02:18:51 +0000] rev 11125
(svn r13683) -Codechange: privatize a function that is not used outside of the class who calls it

Tue, 08 Jul 2008 23:07:58 +0000(svn r13682) -Codechange: -Codechange: remove a now useless variable(dih).
belugas [Tue, 08 Jul 2008 23:07:58 +0000] rev 11124
(svn r13682) -Codechange: -Codechange: remove a now useless variable(dih).

Tue, 08 Jul 2008 15:10:23 +0000(svn r13681) -Revert (r13678, r13677): the fixes didn't work in all cases (assertions on savegame loads).
rubidium [Tue, 08 Jul 2008 15:10:23 +0000] rev 11123
(svn r13681) -Revert (r13678, r13677): the fixes didn't work in all cases (assertions on savegame loads).
-Fix [FS#2102]: but now in a hopefully beter way.

Mon, 07 Jul 2008 16:04:38 +0000(svn r13680) -Fix: NPF crashing when a ship tried to find a nearby depot when on an aqueduct.
rubidium [Mon, 07 Jul 2008 16:04:38 +0000] rev 11122
(svn r13680) -Fix: NPF crashing when a ship tried to find a nearby depot when on an aqueduct.